#0F5A12#0F5A12
#0F5A12 is a dark, vivid green. Relative luminance 0.075; OKLCH L 40.9% C 0.125 H 143.3°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5A12 |
|---|---|
| RGB | rgb(15, 90, 18) |
| HSL | hsl(122, 71%, 21%) |
| HSV | hsv(122, 83%, 35%) |
| CMYK | cmyk(83.3%, 0%, 80%, 64.7%) |
| CIE-LAB | lab(32.83, -37.09, 33.21) |
| CIE-LCH | lch(32.83, 49.78, 138.16°) |
| OKLab | oklab(40.88% -0.1005 0.075) |
| OKLCH | oklch(40.88% 0.125 143.3) |
| XYZ | xyz(3.9621, 7.4571, 1.8027) |
| Luminance | 0.0746 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 0.75
Forest
#0B5509
ΔE00 1.69
Darkgreen
#006400
ΔE00 4.20
Forest Green
#2D5A27
ΔE00 4.65
Bottle Green
#044A05
ΔE00 4.96
Darkgreen (survey)
#054907
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5A12 #5A0F57
analogous
#315A0F #0F5A12 #0F5A37
triadic
#0F5A12 #120F5A #5A120F
tetradic
#0F5A12 #0F315A #5A0F57 #5A370F
square
#0F5A12 #0F315A #5A0F57 #5A370F
split-complementary
#0F5A12 #370F5A #5A0F31
monochromatic
#041A05 #062608 #0F5A12 #188E1C #20C327
Accessibility & contrast
On white
8.43
#0F5A12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#0F5A12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5A12
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5A12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5A12 | 1.00 | 8.43 | 2.49 | 8.43 |
| #FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5105
Deuteranopia (green-blind)
#544B1A
Tritanopia (blue-blind)
#00574C
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #0f5a12; /* rgb */ color: rgb(15, 90, 18); /* oklch */ color: oklch(40.9% 0.125 143.3);
Tailwind
colors: {
custom: {
50: '#5d8955',
500: '#0f5a12',
950: '#000000',
},
}SCSS
$custom: #0f5a12; $custom-light: #5d8955; $custom-dark: #000000;
JSON
{
"hex": "#0f5a12",
"rgb": {
"r": 15,
"g": 90,
"b": 18
},
"hsl": {
"h": 122.4,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.40876,
"c": 0.12543,
"h": 143.3
},
"luminance": 0.07458
}Semantic roles & 50–950 ramp
primary
#0F5A12
secondary
#943190
accent
#3AE7EE
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78