#1B581D#1B581D
#1B581D is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.7% C 0.110 H 143.7°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #1B581D |
|---|---|
| RGB | rgb(27, 88, 29) |
| HSL | hsl(122, 53%, 23%) |
| HSV | hsv(122, 69%, 35%) |
| CMYK | cmyk(69.3%, 0%, 67%, 65.5%) |
| CIE-LAB | lab(32.48, -32.72, 27.89) |
| CIE-LCH | lch(32.48, 43.00, 139.56°) |
| OKLab | oklab(40.71% -0.0888 0.0652) |
| OKLCH | oklch(40.71% 0.11 143.7) |
| XYZ | xyz(4.1632, 7.3007, 2.3519) |
| Luminance | 0.0730 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.70
Forest Green
#2D5A27
ΔE00 2.76
Forest
#0B5509
ΔE00 2.94
Bottle Green
#044A05
ΔE00 4.86
Pine
#2B5D34
ΔE00 4.91
Darkgreen (survey)
#054907
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B581D #581B56
analogous
#38581B #1B581D #1B583B
triadic
#1B581D #1D1B58 #581D1B
tetradic
#1B581D #1B3858 #581B56 #583B1B
square
#1B581D #1B3858 #581B56 #583B1B
split-complementary
#1B581D #3B1B58 #581B38
monochromatic
#071708 #0D290E #1B581D #29872C #38B63C
Accessibility & contrast
On white
8.54
#1B581D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#1B581D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B581D
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B581D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B581D | 1.00 | 8.54 | 2.46 | 8.54 |
| #FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5016
Deuteranopia (green-blind)
#524A22
Tritanopia (blue-blind)
#0D554B
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #1b581d; /* rgb */ color: rgb(27, 88, 29); /* oklch */ color: oklch(40.7% 0.110 143.7);
Tailwind
colors: {
custom: {
50: '#60885b',
500: '#1b581d',
950: '#000000',
},
}SCSS
$custom: #1b581d; $custom-light: #60885b; $custom-dark: #000000;
JSON
{
"hex": "#1b581d",
"rgb": {
"r": 27,
"g": 88,
"b": 29
},
"hsl": {
"h": 121.967,
"s": 53.043,
"l": 22.549
},
"oklch": {
"l": 0.40706,
"c": 0.11013,
"h": 143.7
},
"luminance": 0.07301
}Semantic roles & 50–950 ramp
primary
#1B581D
secondary
#8E418B
accent
#4BD8DC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050B04
muted
#7A7C79