#0F5A23#0F5A23
#0F5A23 is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.1% C 0.112 H 147.4°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5A23 |
|---|---|
| RGB | rgb(15, 90, 35) |
| HSL | hsl(136, 71%, 21%) |
| HSV | hsv(136, 83%, 35%) |
| CMYK | cmyk(83.3%, 0%, 61.1%, 64.7%) |
| CIE-LAB | lab(32.99, -35.03, 25.26) |
| CIE-LCH | lch(32.99, 43.19, 144.20°) |
| OKLab | oklab(41.07% -0.0942 0.0601) |
| OKLCH | oklch(41.07% 0.112 147.4) |
| XYZ | xyz(4.1562, 7.5347, 2.8251) |
| Luminance | 0.0754 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.45
Forest Green
#2D5A27
ΔE00 3.57
Forest
#0B5509
ΔE00 4.21
Pine
#2B5D34
ΔE00 4.32
Spruce
#0A5F38
ΔE00 4.88
British Racing Green
#05480D
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5A23 #5A0F46
analogous
#205A0F #0F5A23 #0F5A48
triadic
#0F5A23 #230F5A #5A230F
tetradic
#0F5A23 #0F205A #5A0F46 #5A480F
square
#0F5A23 #0F205A #5A0F46 #5A480F
split-complementary
#0F5A23 #480F5A #5A0F20
monochromatic
#041A0A #06260F #0F5A23 #188E37 #20C34C
Accessibility & contrast
On white
8.38
#0F5A23 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#0F5A23 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5A23
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5A23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5A23 | 1.00 | 8.38 | 2.51 | 8.38 |
| #FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B511E
Deuteranopia (green-blind)
#534B27
Tritanopia (blue-blind)
#00584E
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #0f5a23; /* rgb */ color: rgb(15, 90, 35); /* oklch */ color: oklch(41.1% 0.112 147.4);
Tailwind
colors: {
custom: {
50: '#5c8960',
500: '#0f5a23',
950: '#000000',
},
}SCSS
$custom: #0f5a23; $custom-light: #5c8960; $custom-dark: #000000;
JSON
{
"hex": "#0f5a23",
"rgb": {
"r": 15,
"g": 90,
"b": 35
},
"hsl": {
"h": 136,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.41071,
"c": 0.11176,
"h": 147.4
},
"luminance": 0.07535
}Semantic roles & 50–950 ramp
primary
#0F5A23
secondary
#943179
accent
#3ABEEE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C05
muted
#797D79