#2C5F0F#2C5F0F
#2C5F0F is a dark, vivid yellow-green. Relative luminance 0.088; OKLCH L 43.3% C 0.121 H 137.1°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5F0F |
|---|---|
| RGB | rgb(44, 95, 15) |
| HSL | hsl(98, 73%, 22%) |
| HSV | hsv(98, 84%, 37%) |
| CMYK | cmyk(53.7%, 0%, 84.2%, 62.7%) |
| CIE-LAB | lab(35.51, -31.99, 37.23) |
| CIE-LCH | lch(35.51, 49.09, 130.67°) |
| OKLab | oklab(43.34% -0.0889 0.0826) |
| OKLCH | oklch(43.34% 0.121 137.1) |
| XYZ | xyz(5.2170, 8.7540, 1.8666) |
| Luminance | 0.0875 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkgreen
#006400
ΔE00 4.09
Deep Green
#02590F
ΔE00 4.54
Forest
#0B5509
ΔE00 4.60
Navy Green
#35530A
ΔE00 4.94
Forest Green
#2D5A27
ΔE00 5.29
Camouflage Green
#4B6113
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5F0F #420F5F
analogous
#545F0F #2C5F0F #0F5F1A
triadic
#2C5F0F #0F2C5F #5F0F2C
tetradic
#2C5F0F #0F545F #420F5F #5F1A0F
square
#2C5F0F #0F545F #420F5F #5F1A0F
split-complementary
#2C5F0F #1A0F5F #5F0F54
monochromatic
#0C1A04 #142A07 #2C5F0F #449417 #5DC920
Accessibility & contrast
On white
7.63
#2C5F0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#2C5F0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C5F0F
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5F0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5F0F | 1.00 | 7.63 | 2.75 | 7.63 |
| #FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#5C5218
Tritanopia (blue-blind)
#295B50
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2c5f0f; /* rgb */ color: rgb(44, 95, 15); /* oklch */ color: oklch(43.3% 0.121 137.1);
Tailwind
colors: {
custom: {
50: '#6b8d55',
500: '#2c5f0f',
950: '#000000',
},
}SCSS
$custom: #2c5f0f; $custom-light: #6b8d55; $custom-dark: #000000;
JSON
{
"hex": "#2c5f0f",
"rgb": {
"r": 44,
"g": 95,
"b": 15
},
"hsl": {
"h": 98.25,
"s": 72.727,
"l": 21.569
},
"oklch": {
"l": 0.43341,
"c": 0.12135,
"h": 137.1
},
"luminance": 0.08754
}Semantic roles & 50–950 ramp
primary
#2C5F0F
secondary
#733298
accent
#38EFAD
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78