#0F5111#0F5111
#0F5111 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.1% C 0.115 H 143.2°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5111 |
|---|---|
| RGB | rgb(15, 81, 17) |
| HSL | hsl(122, 69%, 19%) |
| HSV | hsv(122, 81%, 32%) |
| CMYK | cmyk(81.5%, 0%, 79%, 68.2%) |
| CIE-LAB | lab(29.48, -33.90, 30.23) |
| CIE-LCH | lch(29.48, 45.42, 138.28°) |
| OKLab | oklab(38.09% -0.0919 0.0687) |
| OKLCH | oklch(38.09% 0.115 143.2) |
| XYZ | xyz(3.2404, 6.0265, 1.5227) |
| Luminance | 0.0603 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 1.99
Bottle Green
#044A05
ΔE00 2.34
Darkgreen (survey)
#054907
ΔE00 2.51
British Racing Green
#05480D
ΔE00 2.86
Deep Green
#02590F
ΔE00 2.87
Forest Green (survey)
#06470C
ΔE00 3.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5111 #510F4F
analogous
#2E510F #0F5111 #0F5132
triadic
#0F5111 #110F51 #51110F
tetradic
#0F5111 #0F2E51 #510F4F #51320F
square
#0F5111 #0F2E51 #510F4F #51320F
split-complementary
#0F5111 #320F51 #510F2E
monochromatic
#051A05 #051D06 #0F5111 #19851C #22B827
Accessibility & contrast
On white
9.52
#0F5111 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#0F5111 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5111
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5111 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5111 | 1.00 | 9.52 | 2.21 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534906
Deuteranopia (green-blind)
#4B4318
Tritanopia (blue-blind)
#004E44
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #0f5111; /* rgb */ color: rgb(15, 81, 17); /* oklch */ color: oklch(38.1% 0.115 143.2);
Tailwind
colors: {
custom: {
50: '#5b8353',
500: '#0f5111',
950: '#000000',
},
}SCSS
$custom: #0f5111; $custom-light: #5b8353; $custom-dark: #000000;
JSON
{
"hex": "#0f5111",
"rgb": {
"r": 15,
"g": 81,
"b": 17
},
"hsl": {
"h": 121.818,
"s": 68.75,
"l": 18.824
},
"oklch": {
"l": 0.38093,
"c": 0.11473,
"h": 143.2
},
"luminance": 0.06027
}Semantic roles & 50–950 ramp
primary
#0F5111
secondary
#8B3188
accent
#3CE6EC
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#040A03
muted
#797C78