#1B5A42#1B5A42
#1B5A42 is a dark, moderate teal. Relative luminance 0.079; OKLCH L 42.0% C 0.076 H 164.1°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #1B5A42 |
|---|---|
| RGB | rgb(27, 90, 66) |
| HSL | hsl(157, 54%, 23%) |
| HSV | hsv(157, 70%, 35%) |
| CMYK | cmyk(70%, 0%, 26.7%, 64.7%) |
| CIE-LAB | lab(33.85, -26.41, 8.12) |
| CIE-LCH | lch(33.85, 27.63, 162.90°) |
| OKLab | oklab(42.05% -0.0728 0.0208) |
| OKLCH | oklch(42.05% 0.076 164.1) |
| XYZ | xyz(5.0910, 7.9381, 6.4171) |
| Luminance | 0.0794 (WCAG relative) |
| Temperature | neutral |
| Family | teal |
Closest named colors
Spruce
#0A5F38
ΔE00 4.88
Hunter Green
#355E3B
ΔE00 5.69
Dark Green Blue
#1F6357
ΔE00 5.95
Pine
#2B5D34
ΔE00 6.11
Evergreen
#05472A
ΔE00 6.60
Dark Blue Green
#005249
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B5A42 #5A1B33
analogous
#1B5A22 #1B5A42 #1B525A
triadic
#1B5A42 #421B5A #5A421B
tetradic
#1B5A42 #221B5A #5A1B33 #525A1B
square
#1B5A42 #221B5A #5A1B33 #525A1B
split-complementary
#1B5A42 #5A1B52 #5A221B
monochromatic
#071811 #0D2B1F #1B5A42 #298965 #37B887
Accessibility & contrast
On white
8.12
#1B5A42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#1B5A42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B5A42
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B5A42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B5A42 | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#585341
Deuteranopia (green-blind)
#504D44
Tritanopia (blue-blind)
#005A53
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #1b5a42; /* rgb */ color: rgb(27, 90, 66); /* oklch */ color: oklch(42.0% 0.076 164.1);
Tailwind
colors: {
custom: {
50: '#608976',
500: '#1b5a42',
950: '#000000',
},
}SCSS
$custom: #1b5a42; $custom-light: #608976; $custom-dark: #000000;
JSON
{
"hex": "#1b5a42",
"rgb": {
"r": 27,
"g": 90,
"b": 66
},
"hsl": {
"h": 157.143,
"s": 53.846,
"l": 22.941
},
"oklch": {
"l": 0.42049,
"c": 0.07568,
"h": 164.1
},
"luminance": 0.07939
}Semantic roles & 50–950 ramp
primary
#1B5A42
secondary
#90415F
accent
#4B82DD
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050B08
muted
#797C7B