#2C4A0F#2C4A0F
#2C4A0F is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.2% C 0.092 H 132.9°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4A0F |
|---|---|
| RGB | rgb(44, 74, 15) |
| HSL | hsl(91, 66%, 17%) |
| HSV | hsv(91, 80%, 29%) |
| CMYK | cmyk(40.5%, 0%, 79.7%, 71%) |
| CIE-LAB | lab(28.03, -22.27, 29.98) |
| CIE-LCH | lch(28.03, 37.34, 126.60°) |
| OKLab | oklab(37.21% -0.0626 0.0675) |
| OKLCH | oklch(37.21% 0.092 132.9) |
| XYZ | xyz(3.5737, 5.4674, 1.3189) |
| Luminance | 0.0547 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 3.67
Forrest Green
#154406
ΔE00 3.94
Dark Olive Green
#3C4D03
ΔE00 5.10
Darkgreen (survey)
#054907
ΔE00 5.34
Bottle Green
#044A05
ΔE00 5.40
Forest Green (survey)
#06470C
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4A0F #2D0F4A
analogous
#4A4A0F #2C4A0F #0F4A0F
triadic
#2C4A0F #0F2C4A #4A0F2C
tetradic
#2C4A0F #0F4A4A #2D0F4A #4A0F0F
square
#2C4A0F #0F4A4A #2D0F4A #4A0F0F
split-complementary
#2C4A0F #0F0F4A #4A0F4A
monochromatic
#0F1905 #0F1905 #2C4A0F #4A7D19 #69B024
Accessibility & contrast
On white
10.03
#2C4A0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#2C4A0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4A0F
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4A0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4A0F | 1.00 | 10.03 | 2.09 | 10.03 |
| #FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4405
Deuteranopia (green-blind)
#494115
Tritanopia (blue-blind)
#2C473E
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2c4a0f; /* rgb */ color: rgb(44, 74, 15); /* oklch */ color: oklch(37.2% 0.092 132.9);
Tailwind
colors: {
custom: {
50: '#687d52',
500: '#2c4a0f',
950: '#000000',
},
}SCSS
$custom: #2c4a0f; $custom-light: #687d52; $custom-dark: #000000;
JSON
{
"hex": "#2c4a0f",
"rgb": {
"r": 44,
"g": 74,
"b": 15
},
"hsl": {
"h": 90.508,
"s": 66.292,
"l": 17.451
},
"oklch": {
"l": 0.37205,
"c": 0.09204,
"h": 132.9
},
"luminance": 0.05468
}Semantic roles & 50–950 ramp
primary
#2C4A0F
secondary
#5B3084
accent
#3FE995
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78