#0F5F20#0F5F20
#0F5F20 is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.5% C 0.121 H 146.0°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5F20 |
|---|---|
| RGB | rgb(15, 95, 32) |
| HSL | hsl(133, 73%, 22%) |
| HSV | hsv(133, 84%, 37%) |
| CMYK | cmyk(84.2%, 0%, 66.3%, 62.7%) |
| CIE-LAB | lab(34.78, -37.34, 28.90) |
| CIE-LCH | lch(34.78, 47.22, 142.26°) |
| OKLab | oklab(42.54% -0.1006 0.0677) |
| OKLCH | oklch(42.54% 0.121 146) |
| XYZ | xyz(4.5496, 8.3897, 2.7458) |
| Luminance | 0.0839 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.80
Forest
#0B5509
ΔE00 4.05
Forest Green
#2D5A27
ΔE00 4.20
Darkgreen
#006400
ΔE00 4.85
Pine
#2B5D34
ΔE00 5.37
Spruce
#0A5F38
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5F20 #5F0F4E
analogous
#265F0F #0F5F20 #0F5F48
triadic
#0F5F20 #200F5F #5F200F
tetradic
#0F5F20 #0F265F #5F0F4E #5F480F
square
#0F5F20 #0F265F #5F0F4E #5F480F
split-complementary
#0F5F20 #480F5F #5F0F26
monochromatic
#041A09 #072A0E #0F5F20 #179432 #20C944
Accessibility & contrast
On white
7.84
#0F5F20 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#0F5F20 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5F20
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5F20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5F20 | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605619
Deuteranopia (green-blind)
#584F25
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #0f5f20; /* rgb */ color: rgb(15, 95, 32); /* oklch */ color: oklch(42.5% 0.121 146.0);
Tailwind
colors: {
custom: {
50: '#5e8d5e',
500: '#0f5f20',
950: '#000000',
},
}SCSS
$custom: #0f5f20; $custom-light: #5e8d5e; $custom-dark: #000000;
JSON
{
"hex": "#0f5f20",
"rgb": {
"r": 15,
"g": 95,
"b": 32
},
"hsl": {
"h": 132.75,
"s": 72.727,
"l": 21.569
},
"oklch": {
"l": 0.42542,
"c": 0.12125,
"h": 146
},
"luminance": 0.0839
}Semantic roles & 50–950 ramp
primary
#0F5F20
secondary
#983282
accent
#38C9EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79