#0F5827#0F5827
#0F5827 is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.5% C 0.105 H 149.2°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5827 |
|---|---|
| RGB | rgb(15, 88, 39) |
| HSL | hsl(140, 71%, 20%) |
| HSV | hsv(140, 83%, 35%) |
| CMYK | cmyk(83%, 0%, 55.7%, 65.5%) |
| CIE-LAB | lab(32.32, -33.59, 22.23) |
| CIE-LCH | lch(32.32, 40.28, 146.50°) |
| OKLab | oklab(40.53% -0.0903 0.0537) |
| OKLCH | oklch(40.53% 0.105 149.2) |
| XYZ | xyz(4.0526, 7.2270, 3.1004) |
| Luminance | 0.0723 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.75
Forest Green
#2D5A27
ΔE00 3.83
Spruce
#0A5F38
ΔE00 4.00
Deep Green
#02590F
ΔE00 4.74
Pine Green
#0A481E
ΔE00 5.06
Forest
#0B5509
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5827 #580F40
analogous
#1B580F #0F5827 #0F584B
triadic
#0F5827 #270F58 #58270F
tetradic
#0F5827 #0F1B58 #580F40 #584B0F
square
#0F5827 #0F1B58 #580F40 #584B0F
split-complementary
#0F5827 #4B0F58 #580F1B
monochromatic
#041A0C #062410 #0F5827 #188C3E #21C155
Accessibility & contrast
On white
8.59
#0F5827 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#0F5827 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5827
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5827 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5827 | 1.00 | 8.59 | 2.45 | 8.59 |
| #FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595023
Deuteranopia (green-blind)
#504A2B
Tritanopia (blue-blind)
#00564D
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #0f5827; /* rgb */ color: rgb(15, 88, 39); /* oklch */ color: oklch(40.5% 0.105 149.2);
Tailwind
colors: {
custom: {
50: '#5b8862',
500: '#0f5827',
950: '#000000',
},
}SCSS
$custom: #0f5827; $custom-light: #5b8862; $custom-dark: #000000;
JSON
{
"hex": "#0f5827",
"rgb": {
"r": 15,
"g": 88,
"b": 39
},
"hsl": {
"h": 139.726,
"s": 70.874,
"l": 20.196
},
"oklch": {
"l": 0.40528,
"c": 0.10504,
"h": 149.2
},
"luminance": 0.07227
}Semantic roles & 50–950 ramp
primary
#0F5827
secondary
#923172
accent
#3AB3EE
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#040B05
muted
#797C79