#1B5A2A#1B5A2A
#1B5A2A is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.5% C 0.100 H 148.1°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #1B5A2A |
|---|---|
| RGB | rgb(27, 90, 42) |
| HSL | hsl(134, 54%, 23%) |
| HSV | hsv(134, 70%, 35%) |
| CMYK | cmyk(70%, 0%, 53.3%, 64.7%) |
| CIE-LAB | lab(33.38, -31.60, 21.90) |
| CIE-LCH | lch(33.38, 38.45, 145.27°) |
| OKLab | oklab(41.5% -0.0853 0.0531) |
| OKLCH | oklch(41.5% 0.1 148.1) |
| XYZ | xyz(4.5257, 7.7120, 3.4401) |
| Luminance | 0.0771 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 2.69
Forest Green
#2D5A27
ΔE00 2.94
Spruce
#0A5F38
ΔE00 3.82
Hunter Green
#355E3B
ΔE00 4.92
Deep Green
#02590F
ΔE00 5.05
Forest
#0B5509
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B5A2A #5A1B4B
analogous
#2B5A1B #1B5A2A #1B5A49
triadic
#1B5A2A #2A1B5A #5A2A1B
tetradic
#1B5A2A #1B2B5A #5A1B4B #5A491B
square
#1B5A2A #1B2B5A #5A1B4B #5A491B
split-complementary
#1B5A2A #491B5A #5A1B2B
monochromatic
#07180B #0D2B14 #1B5A2A #298940 #37B856
Accessibility & contrast
On white
8.26
#1B5A2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#1B5A2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B5A2A
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B5A2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B5A2A | 1.00 | 8.26 | 2.54 | 8.26 |
| #FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5226
Deuteranopia (green-blind)
#534C2D
Tritanopia (blue-blind)
#06584F
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #1b5a2a; /* rgb */ color: rgb(27, 90, 42); /* oklch */ color: oklch(41.5% 0.100 148.1);
Tailwind
colors: {
custom: {
50: '#608964',
500: '#1b5a2a',
950: '#000000',
},
}SCSS
$custom: #1b5a2a; $custom-light: #608964; $custom-dark: #000000;
JSON
{
"hex": "#1b5a2a",
"rgb": {
"r": 27,
"g": 90,
"b": 42
},
"hsl": {
"h": 134.286,
"s": 53.846,
"l": 22.941
},
"oklch": {
"l": 0.41499,
"c": 0.10046,
"h": 148.1
},
"luminance": 0.07713
}Semantic roles & 50–950 ramp
primary
#1B5A2A
secondary
#90417D
accent
#4BBADD
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050B05
muted
#797C7A