#254F0F#254F0F
#254F0F is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.3% C 0.103 H 137.2°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #254F0F |
|---|---|
| RGB | rgb(37, 79, 15) |
| HSL | hsl(99, 68%, 18%) |
| HSV | hsv(99, 81%, 31%) |
| CMYK | cmyk(53.2%, 0%, 81%, 69%) |
| CIE-LAB | lab(29.46, -27.34, 31.29) |
| CIE-LCH | lch(29.46, 41.55, 131.15°) |
| OKLab | oklab(38.28% -0.0758 0.0703) |
| OKLCH | oklch(38.28% 0.103 137.2) |
| XYZ | xyz(3.6450, 6.0195, 1.4217) |
| Luminance | 0.0602 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Bottle Green
#044A05
ΔE00 3.68
Forrest Green
#154406
ΔE00 3.70
Navy Green
#35530A
ΔE00 3.74
Darkgreen (survey)
#054907
ΔE00 3.78
Forest
#0B5509
ΔE00 3.84
British Racing Green
#05480D
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254F0F #390F4F
analogous
#454F0F #254F0F #0F4F19
triadic
#254F0F #0F254F #4F0F25
tetradic
#254F0F #0F454F #390F4F #4F190F
square
#254F0F #0F454F #390F4F #4F190F
split-complementary
#254F0F #190F4F #4F0F45
monochromatic
#0C1A05 #0D1C05 #254F0F #3D8219 #55B623
Accessibility & contrast
On white
9.53
#254F0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#254F0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254F0F
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254F0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254F0F | 1.00 | 9.53 | 2.20 | 9.53 |
| #FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524804
Deuteranopia (green-blind)
#4C4416
Tritanopia (blue-blind)
#224C43
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #254f0f; /* rgb */ color: rgb(37, 79, 15); /* oklch */ color: oklch(38.3% 0.103 137.2);
Tailwind
colors: {
custom: {
50: '#648152',
500: '#254f0f',
950: '#000000',
},
}SCSS
$custom: #254f0f; $custom-light: #648152; $custom-dark: #000000;
JSON
{
"hex": "#254f0f",
"rgb": {
"r": 37,
"g": 79,
"b": 15
},
"hsl": {
"h": 99.375,
"s": 68.085,
"l": 18.431
},
"oklch": {
"l": 0.38281,
"c": 0.10342,
"h": 137.2
},
"luminance": 0.0602
}Semantic roles & 50–950 ramp
primary
#254F0F
secondary
#6B3189
accent
#3DEBAF
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78