#0F4F12#0F4F12
#0F4F12 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.5% C 0.111 H 143.5°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #0F4F12 |
|---|---|
| RGB | rgb(15, 79, 18) |
| HSL | hsl(123, 68%, 18%) |
| HSV | hsv(123, 81%, 31%) |
| CMYK | cmyk(81%, 0%, 77.2%, 69%) |
| CIE-LAB | lab(28.74, -33.05, 29.02) |
| CIE-LCH | lch(28.74, 43.98, 138.72°) |
| OKLab | oklab(37.48% -0.0896 0.0663) |
| OKLCH | oklch(37.48% 0.111 143.5) |
| XYZ | xyz(3.1020, 5.7368, 1.5160) |
| Luminance | 0.0574 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Bottle Green
#044A05
ΔE00 2.04
Darkgreen (survey)
#054907
ΔE00 2.06
British Racing Green
#05480D
ΔE00 2.19
Forest Green (survey)
#06470C
ΔE00 2.47
Forest
#0B5509
ΔE00 2.73
Racing Green
#014600
ΔE00 3.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F4F12 #4F0F4C
analogous
#2C4F0F #0F4F12 #0F4F32
triadic
#0F4F12 #120F4F #4F120F
tetradic
#0F4F12 #0F2C4F #4F0F4C #4F320F
square
#0F4F12 #0F2C4F #4F0F4C #4F320F
split-complementary
#0F4F12 #320F4F #4F0F2C
monochromatic
#051A06 #051C06 #0F4F12 #19821E #23B629
Accessibility & contrast
On white
9.78
#0F4F12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#0F4F12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F4F12
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F4F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F4F12 | 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)
#514709
Deuteranopia (green-blind)
#4A4218
Tritanopia (blue-blind)
#004D43
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #0f4f12; /* rgb */ color: rgb(15, 79, 18); /* oklch */ color: oklch(37.5% 0.111 143.5);
Tailwind
colors: {
custom: {
50: '#5a8154',
500: '#0f4f12',
950: '#000000',
},
}SCSS
$custom: #0f4f12; $custom-light: #5a8154; $custom-dark: #000000;
JSON
{
"hex": "#0f4f12",
"rgb": {
"r": 15,
"g": 79,
"b": 18
},
"hsl": {
"h": 122.813,
"s": 68.085,
"l": 18.431
},
"oklch": {
"l": 0.3748,
"c": 0.11141,
"h": 143.5
},
"luminance": 0.05737
}Semantic roles & 50–950 ramp
primary
#0F4F12
secondary
#893185
accent
#3DE3EB
background
#F5F7F4
surface
#E9EEE8
border
#C5C9C4
text
#040A03
muted
#797C78