#0F5211#0F5211
#0F5211 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.4% C 0.116 H 143.2°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5211 |
|---|---|
| RGB | rgb(15, 82, 17) |
| HSL | hsl(122, 69%, 19%) |
| HSV | hsv(122, 82%, 32%) |
| CMYK | cmyk(81.7%, 0%, 79.3%, 67.8%) |
| CIE-LAB | lab(29.85, -34.27, 30.61) |
| CIE-LCH | lch(29.85, 45.95, 138.23°) |
| OKLab | oklab(38.4% -0.0929 0.0695) |
| OKLCH | oklch(38.4% 0.116 143.2) |
| XYZ | xyz(3.3153, 6.1762, 1.5476) |
| Luminance | 0.0618 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 1.70
Deep Green
#02590F
ΔE00 2.54
Bottle Green
#044A05
ΔE00 2.58
Darkgreen (survey)
#054907
ΔE00 2.79
British Racing Green
#05480D
ΔE00 3.19
Forest Green (survey)
#06470C
ΔE00 3.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5211 #520F50
analogous
#2F520F #0F5211 #0F5233
triadic
#0F5211 #110F52 #52110F
tetradic
#0F5211 #0F2F52 #520F50 #52330F
square
#0F5211 #0F2F52 #520F50 #52330F
split-complementary
#0F5211 #330F52 #520F2F
monochromatic
#051A05 #061E06 #0F5211 #18861C #22B926
Accessibility & contrast
On white
9.39
#0F5211 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#0F5211 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5211
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5211 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5211 | 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)
#544906
Deuteranopia (green-blind)
#4C4418
Tritanopia (blue-blind)
#004F45
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #0f5211; /* rgb */ color: rgb(15, 82, 17); /* oklch */ color: oklch(38.4% 0.116 143.2);
Tailwind
colors: {
custom: {
50: '#5b8354',
500: '#0f5211',
950: '#000000',
},
}SCSS
$custom: #0f5211; $custom-light: #5b8354; $custom-dark: #000000;
JSON
{
"hex": "#0f5211",
"rgb": {
"r": 15,
"g": 82,
"b": 17
},
"hsl": {
"h": 121.791,
"s": 69.072,
"l": 19.02
},
"oklch": {
"l": 0.38403,
"c": 0.11601,
"h": 143.2
},
"luminance": 0.06177
}Semantic roles & 50–950 ramp
primary
#0F5211
secondary
#8C3189
accent
#3CE7EC
background
#F5F8F4
surface
#E9EFE8
border
#C5CAC4
text
#040B03
muted
#797C78