#0F5E12#0F5E12
#0F5E12 is a dark, vivid green. Relative luminance 0.082; OKLCH L 42.1% C 0.130 H 143.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5E12 |
|---|---|
| RGB | rgb(15, 94, 18) |
| HSL | hsl(122, 72%, 21%) |
| HSV | hsv(122, 84%, 37%) |
| CMYK | cmyk(84%, 0%, 80.9%, 63.1%) |
| CIE-LAB | lab(34.29, -38.50, 34.67) |
| CIE-LCH | lch(34.29, 51.81, 138.00°) |
| OKLab | oklab(42.1% -0.1044 0.0781) |
| OKLCH | oklch(42.1% 0.13 143.2) |
| XYZ | xyz(4.3086, 8.1501, 1.9182) |
| Luminance | 0.0815 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 1.71
Forest
#0B5509
ΔE00 2.84
Darkgreen
#006400
ΔE00 3.01
Forest Green
#2D5A27
ΔE00 5.16
Bottle Green
#044A05
ΔE00 6.24
Darkgreen (survey)
#054907
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5E12 #5E0F5B
analogous
#345E0F #0F5E12 #0F5E3A
triadic
#0F5E12 #120F5E #5E120F
tetradic
#0F5E12 #0F345E #5E0F5B #5E3A0F
square
#0F5E12 #0F345E #5E0F5B #5E3A0F
split-complementary
#0F5E12 #3A0F5E #5E0F34
monochromatic
#041A05 #072908 #0F5E12 #17931C #20C826
Accessibility & contrast
On white
7.98
#0F5E12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#0F5E12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5E12
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5E12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5E12 | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605403
Deuteranopia (green-blind)
#584E1A
Tritanopia (blue-blind)
#005B50
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #0f5e12; /* rgb */ color: rgb(15, 94, 18); /* oklch */ color: oklch(42.1% 0.130 143.2);
Tailwind
colors: {
custom: {
50: '#5e8d56',
500: '#0f5e12',
950: '#000000',
},
}SCSS
$custom: #0f5e12; $custom-light: #5e8d56; $custom-dark: #000000;
JSON
{
"hex": "#0f5e12",
"rgb": {
"r": 15,
"g": 94,
"b": 18
},
"hsl": {
"h": 122.278,
"s": 72.477,
"l": 21.373
},
"oklch": {
"l": 0.42097,
"c": 0.13033,
"h": 143.2
},
"luminance": 0.08151
}Semantic roles & 50–950 ramp
primary
#0F5E12
secondary
#973193
accent
#39E8EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78