#254F0C#254F0C
#254F0C is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.3% C 0.105 H 136.7°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #254F0C |
|---|---|
| RGB | rgb(37, 79, 12) |
| HSL | hsl(98, 74%, 18%) |
| HSV | hsv(98, 85%, 31%) |
| CMYK | cmyk(53.2%, 0%, 84.8%, 69%) |
| CIE-LAB | lab(29.44, -27.56, 32.44) |
| CIE-LCH | lch(29.44, 42.57, 130.36°) |
| OKLab | oklab(38.26% -0.0766 0.0722) |
| OKLCH | oklch(38.26% 0.105 136.7) |
| XYZ | xyz(3.6252, 6.0116, 1.3171) |
| Luminance | 0.0601 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 3.47
Bottle Green
#044A05
ΔE00 3.75
Forrest Green
#154406
ΔE00 3.81
Forest
#0B5509
ΔE00 3.83
Darkgreen (survey)
#054907
ΔE00 3.90
Racing Green
#014600
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254F0C #360C4F
analogous
#464F0C #254F0C #0C4F15
triadic
#254F0C #0C254F #4F0C25
tetradic
#254F0C #0C464F #360C4F #4F150C
square
#254F0C #0C464F #360C4F #4F150C
split-complementary
#254F0C #150C4F #4F0C46
monochromatic
#0C1B04 #0C1B04 #254F0C #3E8414 #57B91C
Accessibility & contrast
On white
9.54
#254F0C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#254F0C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254F0C
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254F0C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254F0C | 1.00 | 9.54 | 2.20 | 9.54 |
| #FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524800
Deuteranopia (green-blind)
#4D4413
Tritanopia (blue-blind)
#234C42
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #254f0c; /* rgb */ color: rgb(37, 79, 12); /* oklch */ color: oklch(38.3% 0.105 136.7);
Tailwind
colors: {
custom: {
50: '#658151',
500: '#254f0c',
950: '#000000',
},
}SCSS
$custom: #254f0c; $custom-light: #658151; $custom-dark: #000000;
JSON
{
"hex": "#254f0c",
"rgb": {
"r": 37,
"g": 79,
"b": 12
},
"hsl": {
"h": 97.612,
"s": 73.626,
"l": 17.843
},
"oklch": {
"l": 0.38258,
"c": 0.10531,
"h": 136.7
},
"luminance": 0.06012
}Semantic roles & 50–950 ramp
primary
#254F0C
secondary
#672C8B
accent
#38F0AB
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78