#0F5212#0F5212
#0F5212 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.4% C 0.115 H 143.4°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5212 |
|---|---|
| RGB | rgb(15, 82, 18) |
| HSL | hsl(123, 69%, 19%) |
| HSV | hsv(123, 82%, 32%) |
| CMYK | cmyk(81.7%, 0%, 78%, 67.8%) |
| CIE-LAB | lab(29.86, -34.18, 30.19) |
| CIE-LCH | lch(29.86, 45.60, 138.55°) |
| OKLab | oklab(38.41% -0.0926 0.0687) |
| OKLCH | oklch(38.41% 0.115 143.4) |
| XYZ | xyz(3.3233, 6.1794, 1.5898) |
| Luminance | 0.0618 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 1.85
Deep Green
#02590F
ΔE00 2.60
Bottle Green
#044A05
ΔE00 2.63
Darkgreen (survey)
#054907
ΔE00 2.82
British Racing Green
#05480D
ΔE00 3.15
Forest Green (survey)
#06470C
ΔE00 3.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5212 #520F4F
analogous
#2E520F #0F5212 #0F5234
triadic
#0F5212 #120F52 #52120F
tetradic
#0F5212 #0F2E52 #520F4F #52340F
square
#0F5212 #0F2E52 #520F4F #52340F
split-complementary
#0F5212 #340F52 #520F2E
monochromatic
#051A06 #061E07 #0F5212 #18861D #22B929
Accessibility & contrast
On white
9.39
#0F5212 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#0F5212 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5212
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5212 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5212 | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544908
Deuteranopia (green-blind)
#4C4419
Tritanopia (blue-blind)
#004F45
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #0f5212; /* rgb */ color: rgb(15, 82, 18); /* oklch */ color: oklch(38.4% 0.115 143.4);
Tailwind
colors: {
custom: {
50: '#5b8354',
500: '#0f5212',
950: '#000000',
},
}SCSS
$custom: #0f5212; $custom-light: #5b8354; $custom-dark: #000000;
JSON
{
"hex": "#0f5212",
"rgb": {
"r": 15,
"g": 82,
"b": 18
},
"hsl": {
"h": 122.687,
"s": 69.072,
"l": 19.02
},
"oklch": {
"l": 0.38412,
"c": 0.11532,
"h": 143.4
},
"luminance": 0.0618
}Semantic roles & 50–950 ramp
primary
#0F5212
secondary
#8C3188
accent
#3CE4EC
background
#F5F8F5
surface
#E9EFE8
border
#C5CAC4
text
#040B03
muted
#797C78