#0F582D#0F582D
#0F582D is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.6% C 0.099 H 152.0°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #0F582D |
|---|---|
| RGB | rgb(15, 88, 45) |
| HSL | hsl(145, 71%, 20%) |
| HSV | hsv(145, 83%, 35%) |
| CMYK | cmyk(83%, 0%, 48.9%, 65.5%) |
| CIE-LAB | lab(32.41, -32.47, 18.89) |
| CIE-LCH | lch(32.41, 37.57, 149.81°) |
| OKLab | oklab(40.64% -0.0873 0.0464) |
| OKLCH | oklch(40.64% 0.099 152) |
| XYZ | xyz(4.1600, 7.2700, 3.6661) |
| Luminance | 0.0727 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.84
Pine
#2B5D34
ΔE00 3.35
Forest Green
#2D5A27
ΔE00 4.63
Pine Green
#0A481E
ΔE00 5.06
Hunter Green
#355E3B
ΔE00 5.29
Evergreen
#05472A
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F582D #580F3A
analogous
#15580F #0F582D #0F5852
triadic
#0F582D #2D0F58 #582D0F
tetradic
#0F582D #0F1558 #580F3A #58520F
square
#0F582D #0F1558 #580F3A #58520F
split-complementary
#0F582D #520F58 #580F15
monochromatic
#041A0D #062412 #0F582D #188C48 #21C162
Accessibility & contrast
On white
8.56
#0F582D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#0F582D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F582D
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F582D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F582D | 1.00 | 8.56 | 2.45 | 8.56 |
| #FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#58502A
Deuteranopia (green-blind)
#504A30
Tritanopia (blue-blind)
#00574E
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #0f582d; /* rgb */ color: rgb(15, 88, 45); /* oklch */ color: oklch(40.6% 0.099 152.0);
Tailwind
colors: {
custom: {
50: '#5b8866',
500: '#0f582d',
950: '#000000',
},
}SCSS
$custom: #0f582d; $custom-light: #5b8866; $custom-dark: #000000;
JSON
{
"hex": "#0f582d",
"rgb": {
"r": 15,
"g": 88,
"b": 45
},
"hsl": {
"h": 144.658,
"s": 70.874,
"l": 20.196
},
"oklch": {
"l": 0.40638,
"c": 0.09888,
"h": 152
},
"luminance": 0.0727
}Semantic roles & 50–950 ramp
primary
#0F582D
secondary
#92316A
accent
#3AA4EE
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#040B06
muted
#797C7A