Nearest named color · #7C7931
#7C7931
Nearest named color: Green Commando
#7C7931 (rgb(124 121 49), hsl(58 43% 34%), oklch(0.563 0.094 106.8)) is closest to the named color Green Commando. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#7C7931
oklch(0.563 0.094 106.8)
Color conversions
- HEX
- #7c7931
- RGB
- rgb(124 121 49)
- HSL
- hsl(58 43% 34%)
- HWB
- hwb(58 19% 51%)
- OKLCH
- oklch(0.563 0.094 106.8)
- OKLab
- oklab(0.563 -0.027 0.09)
- CIE Lab
- lab(49.95 -6.17 38.83)
- LCH
- lch(49.95 39.32 99)
- CMYK
- cmyk(0% 2% 60% 51%)
Tints · Shades · Tones
Tints
- 888647
- 94935C
- A1A070
- AEAD84
- BBBA98
- C8C8AC
- D6D6C1
- E3E3D5
- F1F1EA
Shades
- 6B6829
- 5A5822
- 4A481A
- 3B3913
- 2C2B0C
- 1E1D06
- 111003
- 050501
- 010100
Tones
- 7C7A3B
- 7D7B44
- 7D7C4D
- 7D7C55
- 7E7D5D
- 7E7E64
- 7F7E6B
- 7F7F72
- 7F8079
Color harmonies
Complementary +180°
- 7C7931
Green Commando
- 726CAA
≈ Wintertime Mauve
Analogous -30° +30°
- 7C7931
Green Commando
- 946E2E
≈ Dirt Yellow
- 5B824A
≈ Rambling Green
Triadic +120° +240°
- 7C7931
Green Commando
- 2980A0
≈ Summer Blue
- 9D5E80
≈ Raspberry Jelly Red
Split-complementary +150° +210°
- 7C7931
Green Commando
- 5177AC
≈ Flying Fish
- 8C649A
≈ Aster Violetta
Tetradic +90° +180° +270°
- 7C7931
Green Commando
- 0C8688
≈ Tubbataha Teal
- 726CAA
≈ Wintertime Mauve
- A55D62
≈ Pizza Pie
Contrast & accessibility
Ag
AAOn white
WCAG 4.52:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.63:1 · APCA Lc 30
Best text color: #000000
WCAG 4.63:1 (AA) · APCA Lc 30
Contrast pairs
Code snippets
CSS
:root {
--green-commando: #7c7931;
--green-commando-rgb: 124 121 49;
--green-commando-oklch: oklch(0.563 0.094 106.8);
}
.element {
color: var(--green-commando);
background-color: hsl(58 43% 34%);
border-color: oklch(0.563 0.094 106.8);
}Tailwind CSS v4
@theme {
--color-green-commando: #7c7931;
--color-green-commando-50: #f7f8d9;
--color-green-commando-100: #eaebc7;
--color-green-commando-200: #d7d8aa;
--color-green-commando-300: #bbbc83;
--color-green-commando-400: #a5a25f;
--color-green-commando-500: #8e8a39;
--color-green-commando-600: #787532;
--color-green-commando-700: #605e27;
--color-green-commando-800: #47441a;
--color-green-commando-900: #312f11;
--color-green-commando-950: #1d1b04;
}SCSS
$green-commando: #7c7931;
$green-commando-rgb: 124, 121, 49;
$green-commando-light: mix(#fff, $green-commando, 20%);
$green-commando-dark: mix(#000, $green-commando, 20%);
.element {
color: $green-commando;
box-shadow: 0 0 0 2px rgba($green-commando, 0.35);
}