#0F5D22#0F5D22
#0F5D22 is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.0% C 0.117 H 146.8°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5D22 |
|---|---|
| RGB | rgb(15, 93, 34) |
| HSL | hsl(135, 72%, 21%) |
| HSV | hsv(135, 84%, 36%) |
| CMYK | cmyk(83.9%, 0%, 63.4%, 63.5%) |
| CIE-LAB | lab(34.08, -36.32, 27.07) |
| CIE-LCH | lch(34.08, 45.30, 143.30°) |
| OKLab | oklab(41.97% -0.0977 0.064) |
| OKLCH | oklch(41.97% 0.117 146.8) |
| XYZ | xyz(4.3998, 8.0452, 2.8341) |
| Luminance | 0.0805 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.03
Forest Green
#2D5A27
ΔE00 3.81
Forest
#0B5509
ΔE00 4.10
Pine
#2B5D34
ΔE00 4.76
Spruce
#0A5F38
ΔE00 5.33
Darkgreen
#006400
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5D22 #5D0F4A
analogous
#235D0F #0F5D22 #0F5D49
triadic
#0F5D22 #220F5D #5D220F
tetradic
#0F5D22 #0F235D #5D0F4A #5D490F
square
#0F5D22 #0F235D #5D0F4A #5D490F
split-complementary
#0F5D22 #490F5D #5D0F23
monochromatic
#041A0A #06280F #0F5D22 #179235 #20C649
Accessibility & contrast
On white
8.05
#0F5D22 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#0F5D22 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5D22
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5D22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5D22 | 1.00 | 8.05 | 2.61 | 8.05 |
| #FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E541C
Deuteranopia (green-blind)
#564E27
Tritanopia (blue-blind)
#005B50
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #0f5d22; /* rgb */ color: rgb(15, 93, 34); /* oklch */ color: oklch(42.0% 0.117 146.8);
Tailwind
colors: {
custom: {
50: '#5d8c5f',
500: '#0f5d22',
950: '#000000',
},
}SCSS
$custom: #0f5d22; $custom-light: #5d8c5f; $custom-dark: #000000;
JSON
{
"hex": "#0f5d22",
"rgb": {
"r": 15,
"g": 93,
"b": 34
},
"hsl": {
"h": 134.615,
"s": 72.222,
"l": 21.176
},
"oklch": {
"l": 0.41965,
"c": 0.1168,
"h": 146.8
},
"luminance": 0.08046
}Semantic roles & 50–950 ramp
primary
#0F5D22
secondary
#96317E
accent
#39C3EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79