#0F5C28#0F5C28
#0F5C28 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.110 H 149.0°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5C28 |
|---|---|
| RGB | rgb(15, 92, 40) |
| HSL | hsl(139, 72%, 21%) |
| HSV | hsv(139, 84%, 36%) |
| CMYK | cmyk(83.7%, 0%, 56.5%, 63.9%) |
| CIE-LAB | lab(33.79, -34.99, 23.48) |
| CIE-LCH | lch(33.79, 42.14, 146.14°) |
| OKLab | oklab(41.75% -0.094 0.0566) |
| OKLCH | oklch(41.75% 0.11 149) |
| XYZ | xyz(4.4068, 7.9085, 3.3013) |
| Luminance | 0.0791 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.75
Forest Green
#2D5A27
ΔE00 3.81
Spruce
#0A5F38
ΔE00 3.89
Deep Green
#02590F
ΔE00 4.37
Forest
#0B5509
ΔE00 5.24
Hunter Green
#355E3B
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5C28 #5C0F43
analogous
#1C5C0F #0F5C28 #0F5C4E
triadic
#0F5C28 #280F5C #5C280F
tetradic
#0F5C28 #0F1C5C #5C0F43 #5C4E0F
square
#0F5C28 #0F1C5C #5C0F43 #5C4E0F
split-complementary
#0F5C28 #4E0F5C #5C0F1C
monochromatic
#041A0B #062711 #0F5C28 #18913F #20C556
Accessibility & contrast
On white
8.13
#0F5C28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#0F5C28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5C28
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5C28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5C28 | 1.00 | 8.13 | 2.58 | 8.13 |
| #FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D5323
Deuteranopia (green-blind)
#544D2C
Tritanopia (blue-blind)
#005A50
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #0f5c28; /* rgb */ color: rgb(15, 92, 40); /* oklch */ color: oklch(41.8% 0.110 149.0);
Tailwind
colors: {
custom: {
50: '#5c8b63',
500: '#0f5c28',
950: '#000000',
},
}SCSS
$custom: #0f5c28; $custom-light: #5c8b63; $custom-dark: #000000;
JSON
{
"hex": "#0f5c28",
"rgb": {
"r": 15,
"g": 92,
"b": 40
},
"hsl": {
"h": 139.481,
"s": 71.963,
"l": 20.98
},
"oklch": {
"l": 0.41753,
"c": 0.10972,
"h": 149
},
"luminance": 0.07909
}Semantic roles & 50–950 ramp
primary
#0F5C28
secondary
#953175
accent
#39B4EF
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#050C05
muted
#797D79