#1B5912#1B5912
#1B5912 is a dark, moderate green. Relative luminance 0.074; OKLCH L 40.9% C 0.120 H 141.3°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #1B5912 |
|---|---|
| RGB | rgb(27, 89, 18) |
| HSL | hsl(112, 66%, 21%) |
| HSV | hsv(112, 80%, 35%) |
| CMYK | cmyk(69.7%, 0%, 79.8%, 65.1%) |
| CIE-LAB | lab(32.75, -34.29, 33.22) |
| CIE-LCH | lch(32.75, 47.74, 135.90°) |
| OKLab | oklab(40.89% -0.0936 0.075) |
| OKLCH | oklch(40.89% 0.12 141.3) |
| XYZ | xyz(4.1333, 7.4210, 1.7867) |
| Luminance | 0.0742 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 1.73
Deep Green
#02590F
ΔE00 1.77
Forest Green
#2D5A27
ΔE00 4.10
Darkgreen
#006400
ΔE00 4.62
Bottle Green
#044A05
ΔE00 4.80
Darkgreen (survey)
#054907
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B5912 #501259
analogous
#3E5912 #1B5912 #12592C
triadic
#1B5912 #121B59 #59121B
tetradic
#1B5912 #123E59 #501259 #592C12
square
#1B5912 #123E59 #501259 #592C12
split-complementary
#1B5912 #2C1259 #59123E
monochromatic
#081905 #0C2608 #1B5912 #2A8C1C #3ABF27
Accessibility & contrast
On white
8.45
#1B5912 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#1B5912 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B5912
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B5912 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B5912 | 1.00 | 8.45 | 2.48 | 8.45 |
| #FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5005
Deuteranopia (green-blind)
#544B19
Tritanopia (blue-blind)
#10564B
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #1b5912; /* rgb */ color: rgb(27, 89, 18); /* oklch */ color: oklch(40.9% 0.120 141.3);
Tailwind
colors: {
custom: {
50: '#618955',
500: '#1b5912',
950: '#000000',
},
}SCSS
$custom: #1b5912; $custom-light: #618955; $custom-dark: #000000;
JSON
{
"hex": "#1b5912",
"rgb": {
"r": 27,
"g": 89,
"b": 18
},
"hsl": {
"h": 112.394,
"s": 66.355,
"l": 20.98
},
"oklch": {
"l": 0.40893,
"c": 0.11995,
"h": 141.3
},
"luminance": 0.07421
}Semantic roles & 50–950 ramp
primary
#1B5912
secondary
#863592
accent
#3FE9D4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050B03
muted
#7A7C78