#0F5A24#0F5A24
#0F5A24 is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.1% C 0.111 H 147.8°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5A24 |
|---|---|
| RGB | rgb(15, 90, 36) |
| HSL | hsl(137, 71%, 21%) |
| HSV | hsv(137, 83%, 35%) |
| CMYK | cmyk(83.3%, 0%, 60%, 64.7%) |
| CIE-LAB | lab(33.01, -34.87, 24.74) |
| CIE-LCH | lch(33.01, 42.76, 144.65°) |
| OKLab | oklab(41.09% -0.0938 0.0591) |
| OKLCH | oklch(41.09% 0.111 147.8) |
| XYZ | xyz(4.1713, 7.5408, 2.9044) |
| Luminance | 0.0754 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.58
Deep Green
#02590F
ΔE00 3.68
Pine
#2B5D34
ΔE00 4.17
Forest
#0B5509
ΔE00 4.42
Spruce
#0A5F38
ΔE00 4.66
British Racing Green
#05480D
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5A24 #5A0F45
analogous
#1F5A0F #0F5A24 #0F5A49
triadic
#0F5A24 #240F5A #5A240F
tetradic
#0F5A24 #0F1F5A #5A0F45 #5A490F
square
#0F5A24 #0F1F5A #5A0F45 #5A490F
split-complementary
#0F5A24 #490F5A #5A0F1F
monochromatic
#041A0A #06260F #0F5A24 #188E39 #20C34E
Accessibility & contrast
On white
8.37
#0F5A24 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#0F5A24 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5A24
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5A24 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5A24 | 1.00 | 8.37 | 2.51 | 8.37 |
| #FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B511F
Deuteranopia (green-blind)
#534B28
Tritanopia (blue-blind)
#00584E
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #0f5a24; /* rgb */ color: rgb(15, 90, 36); /* oklch */ color: oklch(41.1% 0.111 147.8);
Tailwind
colors: {
custom: {
50: '#5c8960',
500: '#0f5a24',
950: '#000000',
},
}SCSS
$custom: #0f5a24; $custom-light: #5c8960; $custom-dark: #000000;
JSON
{
"hex": "#0f5a24",
"rgb": {
"r": 15,
"g": 90,
"b": 36
},
"hsl": {
"h": 136.8,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.41086,
"c": 0.11082,
"h": 147.8
},
"luminance": 0.07541
}Semantic roles & 50–950 ramp
primary
#0F5A24
secondary
#943178
accent
#3ABCEE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C05
muted
#797D79