#0F5B28#0F5B28
#0F5B28 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.5% C 0.108 H 149.1°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5B28 |
|---|---|
| RGB | rgb(15, 91, 40) |
| HSL | hsl(140, 72%, 21%) |
| HSV | hsv(140, 84%, 36%) |
| CMYK | cmyk(83.5%, 0%, 56%, 64.3%) |
| CIE-LAB | lab(33.43, -34.60, 23.04) |
| CIE-LCH | lch(33.43, 41.57, 146.35°) |
| OKLab | oklab(41.45% -0.093 0.0556) |
| OKLCH | oklch(41.45% 0.108 149.1) |
| XYZ | xyz(4.3207, 7.7364, 3.2726) |
| Luminance | 0.0774 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.67
Forest Green
#2D5A27
ΔE00 3.79
Spruce
#0A5F38
ΔE00 3.81
Deep Green
#02590F
ΔE00 4.48
Forest
#0B5509
ΔE00 5.27
Hunter Green
#355E3B
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5B28 #5B0F42
analogous
#1C5B0F #0F5B28 #0F5B4E
triadic
#0F5B28 #280F5B #5B280F
tetradic
#0F5B28 #0F1C5B #5B0F42 #5B4E0F
square
#0F5B28 #0F1C5B #5B0F42 #5B4E0F
split-complementary
#0F5B28 #4E0F5B #5B0F1C
monochromatic
#041A0C #062611 #0F5B28 #18903F #20C456
Accessibility & contrast
On white
8.24
#0F5B28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#0F5B28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5B28
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5B28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5B28 | 1.00 | 8.24 | 2.55 | 8.24 |
| #FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5224
Deuteranopia (green-blind)
#534C2C
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #0f5b28; /* rgb */ color: rgb(15, 91, 40); /* oklch */ color: oklch(41.5% 0.108 149.1);
Tailwind
colors: {
custom: {
50: '#5c8a63',
500: '#0f5b28',
950: '#000000',
},
}SCSS
$custom: #0f5b28; $custom-light: #5c8a63; $custom-dark: #000000;
JSON
{
"hex": "#0f5b28",
"rgb": {
"r": 15,
"g": 91,
"b": 40
},
"hsl": {
"h": 139.737,
"s": 71.698,
"l": 20.784
},
"oklch": {
"l": 0.41452,
"c": 0.10831,
"h": 149.1
},
"luminance": 0.07737
}Semantic roles & 50–950 ramp
primary
#0F5B28
secondary
#953174
accent
#39B3EE
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#050C05
muted
#797D79