#1B562F#1B562F
#1B562F is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.4% C 0.089 H 151.3°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #1B562F |
|---|---|
| RGB | rgb(27, 86, 47) |
| HSL | hsl(140, 52%, 22%) |
| HSV | hsv(140, 69%, 34%) |
| CMYK | cmyk(68.6%, 0%, 45.3%, 66.3%) |
| CIE-LAB | lab(32.02, -28.92, 17.25) |
| CIE-LCH | lch(32.02, 33.67, 149.18°) |
| OKLab | oklab(40.41% -0.0781 0.0427) |
| OKLCH | oklch(40.41% 0.089 151.3) |
| XYZ | xyz(4.2925, 7.0934, 3.8317) |
| Luminance | 0.0709 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 2.90
Spruce
#0A5F38
ΔE00 3.47
Hunter Green
#355E3B
ΔE00 4.41
Forest Green
#2D5A27
ΔE00 4.49
Pine Green
#0A481E
ΔE00 4.68
Evergreen
#05472A
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B562F #561B42
analogous
#25561B #1B562F #1B564D
triadic
#1B562F #2F1B56 #562F1B
tetradic
#1B562F #1B2556 #561B42 #564D1B
square
#1B562F #1B2556 #561B42 #564D1B
split-complementary
#1B562F #4D1B56 #561B25
monochromatic
#07170D #0C2716 #1B562F #2A8548 #38B362
Accessibility & contrast
On white
8.68
#1B562F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#1B562F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B562F
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B562F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B562F | 1.00 | 8.68 | 2.42 | 8.68 |
| #FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564F2C
Deuteranopia (green-blind)
#4F4932
Tritanopia (blue-blind)
#05554C
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #1b562f; /* rgb */ color: rgb(27, 86, 47); /* oklch */ color: oklch(40.4% 0.089 151.3);
Tailwind
colors: {
custom: {
50: '#5f8668',
500: '#1b562f',
950: '#000000',
},
}SCSS
$custom: #1b562f; $custom-light: #5f8668; $custom-dark: #000000;
JSON
{
"hex": "#1b562f",
"rgb": {
"r": 27,
"g": 86,
"b": 47
},
"hsl": {
"h": 140.339,
"s": 52.212,
"l": 22.157
},
"oklch": {
"l": 0.40408,
"c": 0.08902,
"h": 151.3
},
"luminance": 0.07094
}Semantic roles & 50–950 ramp
primary
#1B562F
secondary
#8C4172
accent
#4CABDC
background
#F5F8F6
surface
#EAEFEB
border
#C6CAC6
text
#050B06
muted
#797C7A