#0F4F16#0F4F16
#0F4F16 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.5% C 0.108 H 144.5°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #0F4F16 |
|---|---|
| RGB | rgb(15, 79, 22) |
| HSL | hsl(127, 68%, 18%) |
| HSV | hsv(127, 81%, 31%) |
| CMYK | cmyk(81%, 0%, 72.2%, 69%) |
| CIE-LAB | lab(28.78, -32.60, 27.18) |
| CIE-LCH | lch(28.78, 42.45, 140.19°) |
| OKLab | oklab(37.52% -0.0881 0.0629) |
| OKLCH | oklch(37.52% 0.108 144.5) |
| XYZ | xyz(3.1376, 5.7511, 1.7036) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
British Racing Green
#05480D
ΔE00 2.24
Darkgreen (survey)
#054907
ΔE00 2.48
Forest Green (survey)
#06470C
ΔE00 2.53
Bottle Green
#044A05
ΔE00 2.59
Forest
#0B5509
ΔE00 3.33
Racing Green
#014600
ΔE00 3.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F4F16 #4F0F48
analogous
#284F0F #0F4F16 #0F4F36
triadic
#0F4F16 #160F4F #4F160F
tetradic
#0F4F16 #0F284F #4F0F48 #4F360F
square
#0F4F16 #0F284F #4F0F48 #4F360F
split-complementary
#0F4F16 #360F4F #4F0F28
monochromatic
#051A07 #051C08 #0F4F16 #198224 #23B633
Accessibility & contrast
On white
9.77
#0F4F16 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#0F4F16 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F4F16
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F4F16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F4F16 | 1.00 | 9.77 | 2.15 | 9.77 |
| #FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#51470F
Deuteranopia (green-blind)
#49421B
Tritanopia (blue-blind)
#004D43
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #0f4f16; /* rgb */ color: rgb(15, 79, 22); /* oklch */ color: oklch(37.5% 0.108 144.5);
Tailwind
colors: {
custom: {
50: '#5a8156',
500: '#0f4f16',
950: '#000000',
},
}SCSS
$custom: #0f4f16; $custom-light: #5a8156; $custom-dark: #000000;
JSON
{
"hex": "#0f4f16",
"rgb": {
"r": 15,
"g": 79,
"b": 22
},
"hsl": {
"h": 126.563,
"s": 68.085,
"l": 18.431
},
"oklch": {
"l": 0.37523,
"c": 0.10829,
"h": 144.5
},
"luminance": 0.05751
}Semantic roles & 50–950 ramp
primary
#0F4F16
secondary
#89317F
accent
#3DD8EB
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78