#1B5111#1B5111
#1B5111 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.5% C 0.110 H 140.8°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #1B5111 |
|---|---|
| RGB | rgb(27, 81, 17) |
| HSL | hsl(111, 65%, 19%) |
| HSV | hsv(111, 79%, 32%) |
| CMYK | cmyk(66.7%, 0%, 79%, 68.2%) |
| CIE-LAB | lab(29.81, -31.17, 30.67) |
| CIE-LCH | lch(29.81, 43.73, 135.47°) |
| OKLab | oklab(38.46% -0.0853 0.0695) |
| OKLCH | oklch(38.46% 0.11 140.8) |
| XYZ | xyz(3.4954, 6.1580, 1.5346) |
| Luminance | 0.0616 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.32
Bottle Green
#044A05
ΔE00 2.73
Darkgreen (survey)
#054907
ΔE00 2.90
British Racing Green
#05480D
ΔE00 3.35
Deep Green
#02590F
ΔE00 3.42
Forest Green (survey)
#06470C
ΔE00 3.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B5111 #471151
analogous
#3B5111 #1B5111 #115127
triadic
#1B5111 #111B51 #51111B
tetradic
#1B5111 #113B51 #471151 #512711
square
#1B5111 #113B51 #471151 #512711
split-complementary
#1B5111 #271151 #51113B
monochromatic
#081905 #0A1E06 #1B5111 #2C841C #3DB626
Accessibility & contrast
On white
9.41
#1B5111 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#1B5111 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B5111
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B5111 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B5111 | 1.00 | 9.41 | 2.23 | 9.41 |
| #FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534906
Deuteranopia (green-blind)
#4D4517
Tritanopia (blue-blind)
#134E44
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1b5111; /* rgb */ color: rgb(27, 81, 17); /* oklch */ color: oklch(38.5% 0.110 140.8);
Tailwind
colors: {
custom: {
50: '#5f8254',
500: '#1b5111',
950: '#000000',
},
}SCSS
$custom: #1b5111; $custom-light: #5f8254; $custom-dark: #000000;
JSON
{
"hex": "#1b5111",
"rgb": {
"r": 27,
"g": 81,
"b": 17
},
"hsl": {
"h": 110.625,
"s": 65.306,
"l": 19.216
},
"oklch": {
"l": 0.38459,
"c": 0.11,
"h": 140.8
},
"luminance": 0.06158
}Semantic roles & 50–950 ramp
primary
#1B5111
secondary
#7D348A
accent
#40E8CE
background
#F5F8F4
surface
#EAEFE8
border
#C6CAC4
text
#050A03
muted
#797C78