#2C4C0F#2C4C0F
#2C4C0F is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.8% C 0.095 H 133.4°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4C0F |
|---|---|
| RGB | rgb(44, 76, 15) |
| HSL | hsl(91, 67%, 18%) |
| HSV | hsv(91, 80%, 30%) |
| CMYK | cmyk(42.1%, 0%, 80.3%, 70.2%) |
| CIE-LAB | lab(28.74, -23.26, 30.69) |
| CIE-LCH | lch(28.74, 38.51, 127.16°) |
| OKLab | oklab(37.79% -0.0653 0.069) |
| OKLCH | oklch(37.79% 0.095 133.4) |
| XYZ | xyz(3.7093, 5.7387, 1.3641) |
| Luminance | 0.0574 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 3.16
Forrest Green
#154406
ΔE00 4.05
Dark Olive Green
#3C4D03
ΔE00 5.13
Darkgreen (survey)
#054907
ΔE00 5.14
Bottle Green
#044A05
ΔE00 5.14
Forest Green (survey)
#06470C
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4C0F #2F0F4C
analogous
#4A4C0F #2C4C0F #0F4C10
triadic
#2C4C0F #0F2C4C #4C0F2C
tetradic
#2C4C0F #0F4A4C #2F0F4C #4C100F
square
#2C4C0F #0F4A4C #2F0F4C #4C100F
split-complementary
#2C4C0F #100F4C #4C0F4A
monochromatic
#0F1A05 #0F1A05 #2C4C0F #4A7F19 #67B223
Accessibility & contrast
On white
9.78
#2C4C0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#2C4C0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4C0F
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4C0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4C0F | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4505
Deuteranopia (green-blind)
#4B4315
Tritanopia (blue-blind)
#2C4940
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2c4c0f; /* rgb */ color: rgb(44, 76, 15); /* oklch */ color: oklch(37.8% 0.095 133.4);
Tailwind
colors: {
custom: {
50: '#687e52',
500: '#2c4c0f',
950: '#000000',
},
}SCSS
$custom: #2c4c0f; $custom-light: #687e52; $custom-dark: #000000;
JSON
{
"hex": "#2c4c0f",
"rgb": {
"r": 44,
"g": 76,
"b": 15
},
"hsl": {
"h": 91.475,
"s": 67.033,
"l": 17.843
},
"oklch": {
"l": 0.37791,
"c": 0.09499,
"h": 133.4
},
"luminance": 0.05739
}Semantic roles & 50–950 ramp
primary
#2C4C0F
secondary
#5E3186
accent
#3EEA98
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78