#1B522B#1B522B
#1B522B is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.1% C 0.087 H 150.0°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #1B522B |
|---|---|
| RGB | rgb(27, 82, 43) |
| HSL | hsl(137, 50%, 21%) |
| HSV | hsv(137, 67%, 32%) |
| CMYK | cmyk(67.1%, 0%, 47.6%, 67.8%) |
| CIE-LAB | lab(30.50, -27.90, 17.67) |
| CIE-LCH | lch(30.50, 33.03, 147.65°) |
| OKLab | oklab(39.14% -0.0754 0.0435) |
| OKLCH | oklch(39.14% 0.087 150) |
| XYZ | xyz(3.9050, 6.4416, 3.3226) |
| Luminance | 0.0644 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 3.49
Pine
#2B5D34
ΔE00 3.83
Forest Green
#2D5A27
ΔE00 4.66
Evergreen
#05472A
ΔE00 4.66
Spruce
#0A5F38
ΔE00 4.75
Hunter Green
#355E3B
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B522B #521B42
analogous
#27521B #1B522B #1B5247
triadic
#1B522B #2B1B52 #522B1B
tetradic
#1B522B #1B2752 #521B42 #52471B
square
#1B522B #1B2752 #521B42 #52471B
split-complementary
#1B522B #471B52 #521B27
monochromatic
#08170C #0C2413 #1B522B #2A8043 #39AE5B
Accessibility & contrast
On white
9.18
#1B522B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#1B522B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B522B
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B522B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B522B | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534B28
Deuteranopia (green-blind)
#4B462E
Tritanopia (blue-blind)
#0A5049
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1b522b; /* rgb */ color: rgb(27, 82, 43); /* oklch */ color: oklch(39.1% 0.087 150.0);
Tailwind
colors: {
custom: {
50: '#5e8365',
500: '#1b522b',
950: '#000000',
},
}SCSS
$custom: #1b522b; $custom-light: #5e8365; $custom-dark: #000000;
JSON
{
"hex": "#1b522b",
"rgb": {
"r": 27,
"g": 82,
"b": 43
},
"hsl": {
"h": 137.455,
"s": 50.459,
"l": 21.373
},
"oklch": {
"l": 0.39136,
"c": 0.08705,
"h": 150
},
"luminance": 0.06442
}Semantic roles & 50–950 ramp
primary
#1B522B
secondary
#884173
accent
#4EB1DA
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#050A05
muted
#797C7A