#1B5115#1B5115
#1B5115 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.5% C 0.107 H 141.7°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #1B5115 |
|---|---|
| RGB | rgb(27, 81, 21) |
| HSL | hsl(114, 59%, 20%) |
| HSV | hsv(114, 74%, 32%) |
| CMYK | cmyk(66.7%, 0%, 74.1%, 68.2%) |
| CIE-LAB | lab(29.84, -30.78, 28.91) |
| CIE-LCH | lch(29.84, 42.23, 136.80°) |
| OKLab | oklab(38.5% -0.084 0.0664) |
| OKLCH | oklch(38.5% 0.107 141.7) |
| XYZ | xyz(3.5296, 6.1717, 1.7146) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.74
Bottle Green
#044A05
ΔE00 2.93
Darkgreen (survey)
#054907
ΔE00 2.99
British Racing Green
#05480D
ΔE00 3.17
Forest Green (survey)
#06470C
ΔE00 3.38
Deep Green
#02590F
ΔE00 3.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B5115 #4B1551
analogous
#395115 #1B5115 #15512D
triadic
#1B5115 #151B51 #51151B
tetradic
#1B5115 #153951 #4B1551 #512D15
square
#1B5115 #153951 #4B1551 #512D15
split-complementary
#1B5115 #2D1551 #511539
monochromatic
#081806 #0B2008 #1B5115 #2B8222 #3BB22E
Accessibility & contrast
On white
9.40
#1B5115 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#1B5115 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B5115
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B5115 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B5115 | 1.00 | 9.40 | 2.23 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#53490D
Deuteranopia (green-blind)
#4C451B
Tritanopia (blue-blind)
#124E45
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1b5115; /* rgb */ color: rgb(27, 81, 21); /* oklch */ color: oklch(38.5% 0.107 141.7);
Tailwind
colors: {
custom: {
50: '#5f8256',
500: '#1b5115',
950: '#000000',
},
}SCSS
$custom: #1b5115; $custom-light: #5f8256; $custom-dark: #000000;
JSON
{
"hex": "#1b5115",
"rgb": {
"r": 27,
"g": 81,
"b": 21
},
"hsl": {
"h": 114,
"s": 58.824,
"l": 20
},
"oklch": {
"l": 0.38498,
"c": 0.10703,
"h": 141.7
},
"luminance": 0.06172
}Semantic roles & 50–950 ramp
primary
#1B5115
secondary
#813989
accent
#46E2D2
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050A03
muted
#797C78