#0F5F21#0F5F21
#0F5F21 is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.6% C 0.120 H 146.3°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5F21 |
|---|---|
| RGB | rgb(15, 95, 33) |
| HSL | hsl(134, 73%, 22%) |
| HSV | hsv(134, 84%, 37%) |
| CMYK | cmyk(84.2%, 0%, 65.3%, 62.7%) |
| CIE-LAB | lab(34.79, -37.21, 28.41) |
| CIE-LCH | lch(34.79, 46.81, 142.64°) |
| OKLab | oklab(42.56% -0.1002 0.0668) |
| OKLCH | oklch(42.56% 0.12 146.3) |
| XYZ | xyz(4.5634, 8.3952, 2.8185) |
| Luminance | 0.0840 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.95
Forest Green
#2D5A27
ΔE00 4.15
Forest
#0B5509
ΔE00 4.18
Darkgreen
#006400
ΔE00 5.04
Pine
#2B5D34
ΔE00 5.21
Spruce
#0A5F38
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5F21 #5F0F4D
analogous
#255F0F #0F5F21 #0F5F49
triadic
#0F5F21 #210F5F #5F210F
tetradic
#0F5F21 #0F255F #5F0F4D #5F490F
square
#0F5F21 #0F255F #5F0F4D #5F490F
split-complementary
#0F5F21 #490F5F #5F0F25
monochromatic
#041A09 #072A0F #0F5F21 #179433 #20C946
Accessibility & contrast
On white
7.84
#0F5F21 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#0F5F21 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5F21
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5F21 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5F21 | 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)
#60561A
Deuteranopia (green-blind)
#584F26
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #0f5f21; /* rgb */ color: rgb(15, 95, 33); /* oklch */ color: oklch(42.6% 0.120 146.3);
Tailwind
colors: {
custom: {
50: '#5e8d5f',
500: '#0f5f21',
950: '#000000',
},
}SCSS
$custom: #0f5f21; $custom-light: #5e8d5f; $custom-dark: #000000;
JSON
{
"hex": "#0f5f21",
"rgb": {
"r": 15,
"g": 95,
"b": 33
},
"hsl": {
"h": 133.5,
"s": 72.727,
"l": 21.569
},
"oklch": {
"l": 0.42555,
"c": 0.12038,
"h": 146.3
},
"luminance": 0.08396
}Semantic roles & 50–950 ramp
primary
#0F5F21
secondary
#983281
accent
#38C6EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79