#1B542E#1B542E
#1B542E is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.8% C 0.087 H 151.3°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #1B542E |
|---|---|
| RGB | rgb(27, 84, 46) |
| HSL | hsl(140, 51%, 22%) |
| HSV | hsv(140, 68%, 33%) |
| CMYK | cmyk(67.9%, 0%, 45.2%, 67.1%) |
| CIE-LAB | lab(31.28, -28.22, 16.89) |
| CIE-LCH | lch(31.28, 32.88, 149.10°) |
| OKLab | oklab(39.79% -0.0762 0.0418) |
| OKLCH | oklch(39.79% 0.087 151.3) |
| XYZ | xyz(4.1151, 6.7705, 3.6742) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.38
Spruce
#0A5F38
ΔE00 4.04
Pine Green
#0A481E
ΔE00 4.18
Hunter Green
#355E3B
ΔE00 4.69
Forest Green
#2D5A27
ΔE00 4.76
Evergreen
#05472A
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B542E #541B41
analogous
#25541B #1B542E #1B544B
triadic
#1B542E #2E1B54 #542E1B
tetradic
#1B542E #1B2554 #541B41 #544B1B
square
#1B542E #1B2554 #541B41 #544B1B
split-complementary
#1B542E #4B1B54 #541B25
monochromatic
#07170D #0C2615 #1B542E #2A8247 #39B161
Accessibility & contrast
On white
8.92
#1B542E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#1B542E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B542E
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B542E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B542E | 1.00 | 8.92 | 2.35 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544D2B
Deuteranopia (green-blind)
#4D4831
Tritanopia (blue-blind)
#07534B
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #1b542e; /* rgb */ color: rgb(27, 84, 46); /* oklch */ color: oklch(39.8% 0.087 151.3);
Tailwind
colors: {
custom: {
50: '#5f8567',
500: '#1b542e',
950: '#000000',
},
}SCSS
$custom: #1b542e; $custom-light: #5f8567; $custom-dark: #000000;
JSON
{
"hex": "#1b542e",
"rgb": {
"r": 27,
"g": 84,
"b": 46
},
"hsl": {
"h": 140,
"s": 51.351,
"l": 21.765
},
"oklch": {
"l": 0.39794,
"c": 0.08695,
"h": 151.3
},
"luminance": 0.06771
}Semantic roles & 50–950 ramp
primary
#1B542E
secondary
#8A4172
accent
#4DACDB
background
#F5F8F6
surface
#EAEFEB
border
#C6CAC6
text
#050B06
muted
#797C7A