#0F4F11#0F4F11
#0F4F11 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.5% C 0.112 H 143.3°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #0F4F11 |
|---|---|
| RGB | rgb(15, 79, 17) |
| HSL | hsl(122, 68%, 18%) |
| HSV | hsv(122, 81%, 31%) |
| CMYK | cmyk(81%, 0%, 78.5%, 69%) |
| CIE-LAB | lab(28.73, -33.15, 29.46) |
| CIE-LCH | lch(28.73, 44.35, 138.38°) |
| OKLab | oklab(37.47% -0.0899 0.067) |
| OKLCH | oklch(37.47% 0.112 143.3) |
| XYZ | xyz(3.0940, 5.7336, 1.4738) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Bottle Green
#044A05
ΔE00 1.93
Darkgreen (survey)
#054907
ΔE00 1.99
British Racing Green
#05480D
ΔE00 2.22
Forest Green (survey)
#06470C
ΔE00 2.49
Forest
#0B5509
ΔE00 2.60
Racing Green
#014600
ΔE00 3.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F4F11 #4F0F4D
analogous
#2D4F0F #0F4F11 #0F4F31
triadic
#0F4F11 #110F4F #4F110F
tetradic
#0F4F11 #0F2D4F #4F0F4D #4F310F
square
#0F4F11 #0F2D4F #4F0F4D #4F310F
split-complementary
#0F4F11 #310F4F #4F0F2D
monochromatic
#051A06 #051C06 #0F4F11 #19821C #23B627
Accessibility & contrast
On white
9.78
#0F4F11 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#0F4F11 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F4F11
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F4F11 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F4F11 | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514707
Deuteranopia (green-blind)
#4A4217
Tritanopia (blue-blind)
#004C43
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #0f4f11; /* rgb */ color: rgb(15, 79, 17); /* oklch */ color: oklch(37.5% 0.112 143.3);
Tailwind
colors: {
custom: {
50: '#5a8153',
500: '#0f4f11',
950: '#000000',
},
}SCSS
$custom: #0f4f11; $custom-light: #5a8153; $custom-dark: #000000;
JSON
{
"hex": "#0f4f11",
"rgb": {
"r": 15,
"g": 79,
"b": 17
},
"hsl": {
"h": 121.875,
"s": 68.085,
"l": 18.431
},
"oklch": {
"l": 0.37471,
"c": 0.11214,
"h": 143.3
},
"luminance": 0.05734
}Semantic roles & 50–950 ramp
primary
#0F4F11
secondary
#893186
accent
#3DE6EB
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A03
muted
#797C78