#0F582A#0F582A
#0F582A is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.6% C 0.102 H 150.5°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #0F582A |
|---|---|
| RGB | rgb(15, 88, 42) |
| HSL | hsl(142, 71%, 20%) |
| HSV | hsv(142, 83%, 35%) |
| CMYK | cmyk(83%, 0%, 52.3%, 65.5%) |
| CIE-LAB | lab(32.36, -33.05, 20.58) |
| CIE-LCH | lch(32.36, 38.93, 148.10°) |
| OKLab | oklab(40.58% -0.0888 0.0502) |
| OKLCH | oklch(40.58% 0.102 150.5) |
| XYZ | xyz(4.1043, 7.2477, 3.3727) |
| Luminance | 0.0725 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.39
Pine
#2B5D34
ΔE00 3.47
Forest Green
#2D5A27
ΔE00 4.17
Pine Green
#0A481E
ΔE00 5.00
Deep Green
#02590F
ΔE00 5.50
Hunter Green
#355E3B
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F582A #580F3D
analogous
#18580F #0F582A #0F584F
triadic
#0F582A #2A0F58 #582A0F
tetradic
#0F582A #0F1858 #580F3D #584F0F
square
#0F582A #0F1858 #580F3D #584F0F
split-complementary
#0F582A #4F0F58 #580F18
monochromatic
#041A0C #062411 #0F582A #188C43 #21C15C
Accessibility & contrast
On white
8.57
#0F582A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#0F582A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F582A
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F582A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F582A | 1.00 | 8.57 | 2.45 | 8.57 |
| #FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#585026
Deuteranopia (green-blind)
#504A2D
Tritanopia (blue-blind)
#00564D
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #0f582a; /* rgb */ color: rgb(15, 88, 42); /* oklch */ color: oklch(40.6% 0.102 150.5);
Tailwind
colors: {
custom: {
50: '#5b8864',
500: '#0f582a',
950: '#000000',
},
}SCSS
$custom: #0f582a; $custom-light: #5b8864; $custom-dark: #000000;
JSON
{
"hex": "#0f582a",
"rgb": {
"r": 15,
"g": 88,
"b": 42
},
"hsl": {
"h": 142.192,
"s": 70.874,
"l": 20.196
},
"oklch": {
"l": 0.40581,
"c": 0.10199,
"h": 150.5
},
"luminance": 0.07248
}Semantic roles & 50–950 ramp
primary
#0F582A
secondary
#92316E
accent
#3AABEE
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#040B05
muted
#797C7A