#1B5940#1B5940
#1B5940 is a dark, moderate teal. Relative luminance 0.077; OKLCH L 41.7% C 0.076 H 162.8°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #1B5940 |
|---|---|
| RGB | rgb(27, 89, 64) |
| HSL | hsl(156, 53%, 23%) |
| HSV | hsv(156, 70%, 35%) |
| CMYK | cmyk(69.7%, 0%, 28.1%, 65.1%) |
| CIE-LAB | lab(33.45, -26.44, 8.80) |
| CIE-LCH | lch(33.45, 27.87, 161.59°) |
| OKLab | oklab(41.7% -0.0727 0.0225) |
| OKLCH | oklch(41.7% 0.076 162.8) |
| XYZ | xyz(4.9493, 7.7474, 6.0841) |
| Luminance | 0.0775 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 4.64
Hunter Green
#355E3B
ΔE00 5.45
Pine
#2B5D34
ΔE00 5.76
Evergreen
#05472A
ΔE00 6.15
Dark Green Blue
#1F6357
ΔE00 6.48
Dark Blue Green
#005249
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B5940 #591B34
analogous
#1B5921 #1B5940 #1B5359
triadic
#1B5940 #401B59 #59401B
tetradic
#1B5940 #211B59 #591B34 #53591B
square
#1B5940 #211B59 #591B34 #53591B
split-complementary
#1B5940 #591B53 #59211B
monochromatic
#071711 #0D2A1E #1B5940 #298862 #37B784
Accessibility & contrast
On white
8.24
#1B5940 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#1B5940 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B5940
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B5940 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B5940 | 1.00 | 8.24 | 2.55 | 8.24 |
| #FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#57523F
Deuteranopia (green-blind)
#4F4C42
Tritanopia (blue-blind)
#005952
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #1b5940; /* rgb */ color: rgb(27, 89, 64); /* oklch */ color: oklch(41.7% 0.076 162.8);
Tailwind
colors: {
custom: {
50: '#608874',
500: '#1b5940',
950: '#000000',
},
}SCSS
$custom: #1b5940; $custom-light: #608874; $custom-dark: #000000;
JSON
{
"hex": "#1b5940",
"rgb": {
"r": 27,
"g": 89,
"b": 64
},
"hsl": {
"h": 155.806,
"s": 53.448,
"l": 22.745
},
"oklch": {
"l": 0.41703,
"c": 0.07605,
"h": 162.8
},
"luminance": 0.07748
}Semantic roles & 50–950 ramp
primary
#1B5940
secondary
#8F4160
accent
#4B86DD
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050B08
muted
#797C7B