#154F0C#154F0C
#154F0C is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.6% C 0.113 H 141.3°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #154F0C |
|---|---|
| RGB | rgb(21, 79, 12) |
| HSL | hsl(112, 74%, 18%) |
| HSV | hsv(112, 85%, 31%) |
| CMYK | cmyk(73.4%, 0%, 84.8%, 69%) |
| CIE-LAB | lab(28.84, -32.33, 31.66) |
| CIE-LCH | lch(28.84, 45.24, 135.60°) |
| OKLab | oklab(37.6% -0.0883 0.0708) |
| OKLCH | oklch(37.6% 0.113 141.3) |
| XYZ | xyz(3.1714, 5.7776, 1.2958) |
| Luminance | 0.0578 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Bottle Green
#044A05
ΔE00 1.88
Darkgreen (survey)
#054907
ΔE00 2.12
Forest
#0B5509
ΔE00 2.28
British Racing Green
#05480D
ΔE00 2.77
Forest Green (survey)
#06470C
ΔE00 2.94
Racing Green
#014600
ΔE00 2.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#154F0C #460C4F
analogous
#364F0C #154F0C #0C4F24
triadic
#154F0C #0C154F #4F0C15
tetradic
#154F0C #0C364F #460C4F #4F240C
square
#154F0C #0C364F #460C4F #4F240C
split-complementary
#154F0C #240C4F #4F0C36
monochromatic
#071B04 #071B04 #154F0C #238414 #31B91C
Accessibility & contrast
On white
9.74
#154F0C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#154F0C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #154F0C
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##154F0C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##154F0C | 1.00 | 9.74 | 2.16 | 9.74 |
| #FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514700
Deuteranopia (green-blind)
#4A4214
Tritanopia (blue-blind)
#094C42
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #154f0c; /* rgb */ color: rgb(21, 79, 12); /* oklch */ color: oklch(37.6% 0.113 141.3);
Tailwind
colors: {
custom: {
50: '#5c8151',
500: '#154f0c',
950: '#000000',
},
}SCSS
$custom: #154f0c; $custom-light: #5c8151; $custom-dark: #000000;
JSON
{
"hex": "#154f0c",
"rgb": {
"r": 21,
"g": 79,
"b": 12
},
"hsl": {
"h": 111.94,
"s": 73.626,
"l": 17.843
},
"oklch": {
"l": 0.37597,
"c": 0.11319,
"h": 141.3
},
"luminance": 0.05778
}Semantic roles & 50–950 ramp
primary
#154F0C
secondary
#7E2C8B
accent
#38F0D7
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#050A02
muted
#797C78