#0F4F0C#0F4F0C
#0F4F0C is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.4% C 0.115 H 142.4°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #0F4F0C |
|---|---|
| RGB | rgb(15, 79, 12) |
| HSL | hsl(117, 74%, 18%) |
| HSV | hsv(117, 85%, 31%) |
| CMYK | cmyk(81%, 0%, 84.8%, 69%) |
| CIE-LAB | lab(28.69, -33.60, 31.46) |
| CIE-LCH | lch(28.69, 46.03, 136.88°) |
| OKLab | oklab(37.43% -0.0914 0.0705) |
| OKLCH | oklch(37.43% 0.115 142.4) |
| XYZ | xyz(3.0592, 5.7197, 1.2905) |
| Luminance | 0.0572 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Bottle Green
#044A05
ΔE00 1.64
Darkgreen (survey)
#054907
ΔE00 1.89
Forest
#0B5509
ΔE00 2.14
British Racing Green
#05480D
ΔE00 2.52
Forest Green (survey)
#06470C
ΔE00 2.74
Racing Green
#014600
ΔE00 2.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F4F0C #4C0C4F
analogous
#314F0C #0F4F0C #0C4F2A
triadic
#0F4F0C #0C0F4F #4F0C0F
tetradic
#0F4F0C #0C314F #4C0C4F #4F2A0C
square
#0F4F0C #0C314F #4C0C4F #4F2A0C
split-complementary
#0F4F0C #2A0C4F #4F0C31
monochromatic
#051B04 #051B04 #0F4F0C #198414 #23B91C
Accessibility & contrast
On white
9.79
#0F4F0C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#0F4F0C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F4F0C
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F4F0C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F4F0C | 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)
#514700
Deuteranopia (green-blind)
#4A4214
Tritanopia (blue-blind)
#004C42
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #0f4f0c; /* rgb */ color: rgb(15, 79, 12); /* oklch */ color: oklch(37.4% 0.115 142.4);
Tailwind
colors: {
custom: {
50: '#5a8151',
500: '#0f4f0c',
950: '#000000',
},
}SCSS
$custom: #0f4f0c; $custom-light: #5a8151; $custom-dark: #000000;
JSON
{
"hex": "#0f4f0c",
"rgb": {
"r": 15,
"g": 79,
"b": 12
},
"hsl": {
"h": 117.313,
"s": 73.626,
"l": 17.843
},
"oklch": {
"l": 0.37429,
"c": 0.11538,
"h": 142.4
},
"luminance": 0.0572
}Semantic roles & 50–950 ramp
primary
#0F4F0C
secondary
#862C8B
accent
#38F0E8
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78