#0F581F#0F581F
#0F581F is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.4% C 0.113 H 146.4°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).
Color values
| HEX | #0F581F |
|---|---|
| RGB | rgb(15, 88, 31) |
| HSL | hsl(133, 71%, 20%) |
| HSV | hsv(133, 83%, 35%) |
| CMYK | cmyk(83%, 0%, 64.8%, 65.5%) |
| CIE-LAB | lab(32.21, -34.86, 26.47) |
| CIE-LCH | lch(32.21, 43.77, 142.78°) |
| OKLab | oklab(40.41% -0.0939 0.0624) |
| OKLCH | oklch(40.41% 0.113 146.4) |
| XYZ | xyz(3.9338, 7.1795, 2.4745) |
| Luminance | 0.0718 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.89
Forest
#0B5509
ΔE00 3.45
Forest Green
#2D5A27
ΔE00 3.58
Pine
#2B5D34
ΔE00 4.85
Bottle Green
#044A05
ΔE00 5.07
British Racing Green
#05480D
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F581F #580F48
analogous
#23580F #0F581F #0F5844
triadic
#0F581F #1F0F58 #581F0F
tetradic
#0F581F #0F2358 #580F48 #58440F
square
#0F581F #0F2358 #580F48 #58440F
split-complementary
#0F581F #440F58 #580F23
monochromatic
#041A09 #06240D #0F581F #188C31 #21C144
Accessibility & contrast
On white
8.62
#0F581F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#0F581F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F581F
8.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F581F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F581F | 1.00 | 8.62 | 2.44 | 8.62 |
| #FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#594F19
Deuteranopia (green-blind)
#514A24
Tritanopia (blue-blind)
#00564C
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #0f581f; /* rgb */ color: rgb(15, 88, 31); /* oklch */ color: oklch(40.4% 0.113 146.4);
Tailwind
colors: {
custom: {
50: '#5c885d',
500: '#0f581f',
950: '#000000',
},
}SCSS
$custom: #0f581f; $custom-light: #5c885d; $custom-dark: #000000;
JSON
{
"hex": "#0f581f",
"rgb": {
"r": 15,
"g": 88,
"b": 31
},
"hsl": {
"h": 133.151,
"s": 70.874,
"l": 20.196
},
"oklch": {
"l": 0.40406,
"c": 0.11272,
"h": 146.4
},
"luminance": 0.0718
}Semantic roles & 50–950 ramp
primary
#0F581F
secondary
#92317D
accent
#3AC6EE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B04
muted
#797C79