#0F5B23#0F5B23
#0F5B23 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.4% C 0.113 H 147.3°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5B23 |
|---|---|
| RGB | rgb(15, 91, 35) |
| HSL | hsl(136, 72%, 21%) |
| HSV | hsv(136, 84%, 36%) |
| CMYK | cmyk(83.5%, 0%, 61.5%, 64.3%) |
| CIE-LAB | lab(33.36, -35.41, 25.70) |
| CIE-LCH | lch(33.36, 43.76, 144.03°) |
| OKLab | oklab(41.37% -0.0952 0.0611) |
| OKLCH | oklch(41.37% 0.113 147.3) |
| XYZ | xyz(4.2411, 7.7046, 2.8534) |
| Luminance | 0.0770 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.34
Forest Green
#2D5A27
ΔE00 3.61
Forest
#0B5509
ΔE00 4.20
Pine
#2B5D34
ΔE00 4.39
Spruce
#0A5F38
ΔE00 4.93
British Racing Green
#05480D
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5B23 #5B0F47
analogous
#215B0F #0F5B23 #0F5B49
triadic
#0F5B23 #230F5B #5B230F
tetradic
#0F5B23 #0F215B #5B0F47 #5B490F
square
#0F5B23 #0F215B #5B0F47 #5B490F
split-complementary
#0F5B23 #490F5B #5B0F21
monochromatic
#041A0A #06260F #0F5B23 #189037 #20C44B
Accessibility & contrast
On white
8.26
#0F5B23 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#0F5B23 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5B23
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5B23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5B23 | 1.00 | 8.26 | 2.54 | 8.26 |
| #FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C521D
Deuteranopia (green-blind)
#544C27
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #0f5b23; /* rgb */ color: rgb(15, 91, 35); /* oklch */ color: oklch(41.4% 0.113 147.3);
Tailwind
colors: {
custom: {
50: '#5c8a60',
500: '#0f5b23',
950: '#000000',
},
}SCSS
$custom: #0f5b23; $custom-light: #5c8a60; $custom-dark: #000000;
JSON
{
"hex": "#0f5b23",
"rgb": {
"r": 15,
"g": 91,
"b": 35
},
"hsl": {
"h": 135.789,
"s": 71.698,
"l": 20.784
},
"oklch": {
"l": 0.41374,
"c": 0.11315,
"h": 147.3
},
"luminance": 0.07705
}Semantic roles & 50–950 ramp
primary
#0F5B23
secondary
#95317A
accent
#39BFEE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C05
muted
#797D79