#0F5B26#0F5B26
#0F5B26 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.4% C 0.110 H 148.4°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5B26 |
|---|---|
| RGB | rgb(15, 91, 38) |
| HSL | hsl(138, 72%, 21%) |
| HSV | hsv(138, 84%, 36%) |
| CMYK | cmyk(83.5%, 0%, 58.2%, 64.3%) |
| CIE-LAB | lab(33.40, -34.94, 24.11) |
| CIE-LCH | lch(33.40, 42.45, 145.39°) |
| OKLab | oklab(41.42% -0.0939 0.0578) |
| OKLCH | oklch(41.42% 0.11 148.4) |
| XYZ | xyz(4.2876, 7.7232, 3.0981) |
| Luminance | 0.0772 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.67
Pine
#2B5D34
ΔE00 3.94
Deep Green
#02590F
ΔE00 4.01
Spruce
#0A5F38
ΔE00 4.27
Forest
#0B5509
ΔE00 4.82
Pine Green
#0A481E
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5B26 #5B0F44
analogous
#1E5B0F #0F5B26 #0F5B4C
triadic
#0F5B26 #260F5B #5B260F
tetradic
#0F5B26 #0F1E5B #5B0F44 #5B4C0F
square
#0F5B26 #0F1E5B #5B0F44 #5B4C0F
split-complementary
#0F5B26 #4C0F5B #5B0F1E
monochromatic
#041A0B #062610 #0F5B26 #18903C #20C452
Accessibility & contrast
On white
8.25
#0F5B26 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#0F5B26 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5B26
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5B26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5B26 | 1.00 | 8.25 | 2.54 | 8.25 |
| #FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5221
Deuteranopia (green-blind)
#534C2A
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #0f5b26; /* rgb */ color: rgb(15, 91, 38); /* oklch */ color: oklch(41.4% 0.110 148.4);
Tailwind
colors: {
custom: {
50: '#5c8a62',
500: '#0f5b26',
950: '#000000',
},
}SCSS
$custom: #0f5b26; $custom-light: #5c8a62; $custom-dark: #000000;
JSON
{
"hex": "#0f5b26",
"rgb": {
"r": 15,
"g": 91,
"b": 38
},
"hsl": {
"h": 138.158,
"s": 71.698,
"l": 20.784
},
"oklch": {
"l": 0.41419,
"c": 0.11028,
"h": 148.4
},
"luminance": 0.07724
}Semantic roles & 50–950 ramp
primary
#0F5B26
secondary
#953176
accent
#39B8EE
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#050C05
muted
#797D79