#0F5812#0F5812
#0F5812 is a dark, vivid green. Relative luminance 0.071; OKLCH L 40.3% C 0.123 H 143.3°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5812 |
|---|---|
| RGB | rgb(15, 88, 18) |
| HSL | hsl(122, 71%, 20%) |
| HSV | hsv(122, 83%, 35%) |
| CMYK | cmyk(83%, 0%, 79.5%, 65.5%) |
| CIE-LAB | lab(32.09, -36.37, 32.46) |
| CIE-LCH | lch(32.09, 48.75, 138.25°) |
| OKLab | oklab(40.26% -0.0986 0.0735) |
| OKLCH | oklch(40.26% 0.123 143.3) |
| XYZ | xyz(3.7957, 7.1242, 1.7472) |
| Luminance | 0.0712 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 0.86
Forest
#0B5509
ΔE00 1.27
Bottle Green
#044A05
ΔE00 4.34
Forest Green
#2D5A27
ΔE00 4.51
Darkgreen (survey)
#054907
ΔE00 4.64
Darkgreen
#006400
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5812 #580F55
analogous
#30580F #0F5812 #0F5837
triadic
#0F5812 #120F58 #58120F
tetradic
#0F5812 #0F3058 #580F55 #58370F
square
#0F5812 #0F3058 #580F55 #58370F
split-complementary
#0F5812 #370F58 #580F30
monochromatic
#041A05 #062407 #0F5812 #188C1D #21C127
Accessibility & contrast
On white
8.66
#0F5812 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#0F5812 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5812
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5812 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5812 | 1.00 | 8.66 | 2.42 | 8.66 |
| #FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A4F05
Deuteranopia (green-blind)
#524919
Tritanopia (blue-blind)
#00554A
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #0f5812; /* rgb */ color: rgb(15, 88, 18); /* oklch */ color: oklch(40.3% 0.123 143.3);
Tailwind
colors: {
custom: {
50: '#5d8855',
500: '#0f5812',
950: '#000000',
},
}SCSS
$custom: #0f5812; $custom-light: #5d8855; $custom-dark: #000000;
JSON
{
"hex": "#0f5812",
"rgb": {
"r": 15,
"g": 88,
"b": 18
},
"hsl": {
"h": 122.466,
"s": 70.874,
"l": 20.196
},
"oklch": {
"l": 0.40263,
"c": 0.12294,
"h": 143.3
},
"luminance": 0.07125
}Semantic roles & 50–950 ramp
primary
#0F5812
secondary
#92318E
accent
#3AE6EE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B03
muted
#797C78