#0F4F0D#0F4F0D
#0F4F0D is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.4% C 0.115 H 142.5°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #0F4F0D |
|---|---|
| RGB | rgb(15, 79, 13) |
| HSL | hsl(118, 72%, 18%) |
| HSV | hsv(118, 84%, 31%) |
| CMYK | cmyk(81%, 0%, 83.5%, 69%) |
| CIE-LAB | lab(28.70, -33.52, 31.08) |
| CIE-LCH | lch(28.70, 45.71, 137.16°) |
| OKLab | oklab(37.44% -0.0911 0.0698) |
| OKLCH | oklch(37.44% 0.115 142.5) |
| XYZ | xyz(3.0654, 5.7222, 1.3236) |
| Luminance | 0.0572 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Bottle Green
#044A05
ΔE00 1.66
Darkgreen (survey)
#054907
ΔE00 1.88
Forest
#0B5509
ΔE00 2.21
British Racing Green
#05480D
ΔE00 2.45
Forest Green (survey)
#06470C
ΔE00 2.68
Racing Green
#014600
ΔE00 2.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F4F0D #4D0D4F
analogous
#304F0D #0F4F0D #0D4F2C
triadic
#0F4F0D #0D0F4F #4F0D0F
tetradic
#0F4F0D #0D304F #4D0D4F #4F2C0D
square
#0F4F0D #0D304F #4D0D4F #4F2C0D
split-complementary
#0F4F0D #2C0D4F #4F0D30
monochromatic
#051A04 #051A04 #0F4F0D #198416 #23B81E
Accessibility & contrast
On white
9.79
#0F4F0D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#0F4F0D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F4F0D
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F4F0D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F4F0D | 1.00 | 9.79 | 2.14 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514701
Deuteranopia (green-blind)
#4A4214
Tritanopia (blue-blind)
#004C43
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #0f4f0d; /* rgb */ color: rgb(15, 79, 13); /* oklch */ color: oklch(37.4% 0.115 142.5);
Tailwind
colors: {
custom: {
50: '#5a8151',
500: '#0f4f0d',
950: '#000000',
},
}SCSS
$custom: #0f4f0d; $custom-light: #5a8151; $custom-dark: #000000;
JSON
{
"hex": "#0f4f0d",
"rgb": {
"r": 15,
"g": 79,
"b": 13
},
"hsl": {
"h": 118.182,
"s": 71.739,
"l": 18.039
},
"oklch": {
"l": 0.37437,
"c": 0.11478,
"h": 142.5
},
"luminance": 0.05723
}Semantic roles & 50–950 ramp
primary
#0F4F0D
secondary
#872E8A
accent
#39EEE9
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78