#0F5E20#0F5E20
#0F5E20 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.2% C 0.120 H 146.1°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5E20 |
|---|---|
| RGB | rgb(15, 94, 32) |
| HSL | hsl(133, 72%, 21%) |
| HSV | hsv(133, 84%, 37%) |
| CMYK | cmyk(84%, 0%, 66%, 63.1%) |
| CIE-LAB | lab(34.42, -36.97, 28.49) |
| CIE-LCH | lch(34.42, 46.68, 142.38°) |
| OKLab | oklab(42.24% -0.0996 0.0669) |
| OKLCH | oklch(42.24% 0.12 146.1) |
| XYZ | xyz(4.4601, 8.2107, 2.7160) |
| Luminance | 0.0821 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.71
Forest
#0B5509
ΔE00 3.90
Forest Green
#2D5A27
ΔE00 4.03
Darkgreen
#006400
ΔE00 5.10
Pine
#2B5D34
ΔE00 5.21
Spruce
#0A5F38
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5E20 #5E0F4D
analogous
#265E0F #0F5E20 #0F5E48
triadic
#0F5E20 #200F5E #5E200F
tetradic
#0F5E20 #0F265E #5E0F4D #5E480F
square
#0F5E20 #0F265E #5E0F4D #5E480F
split-complementary
#0F5E20 #480F5E #5E0F26
monochromatic
#041A09 #07290E #0F5E20 #179332 #20C844
Accessibility & contrast
On white
7.95
#0F5E20 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#0F5E20 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5E20
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5E20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5E20 | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5519
Deuteranopia (green-blind)
#574F25
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #0f5e20; /* rgb */ color: rgb(15, 94, 32); /* oklch */ color: oklch(42.2% 0.120 146.1);
Tailwind
colors: {
custom: {
50: '#5d8d5e',
500: '#0f5e20',
950: '#000000',
},
}SCSS
$custom: #0f5e20; $custom-light: #5d8d5e; $custom-dark: #000000;
JSON
{
"hex": "#0f5e20",
"rgb": {
"r": 15,
"g": 94,
"b": 32
},
"hsl": {
"h": 132.911,
"s": 72.477,
"l": 21.373
},
"oklch": {
"l": 0.4224,
"c": 0.11992,
"h": 146.1
},
"luminance": 0.08211
}Semantic roles & 50–950 ramp
primary
#0F5E20
secondary
#973181
accent
#39C8EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79