#1B6818#1B6818
#1B6818 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.4% C 0.135 H 142.5°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #1B6818 |
|---|---|
| RGB | rgb(27, 104, 24) |
| HSL | hsl(118, 63%, 25%) |
| HSV | hsv(118, 77%, 41%) |
| CMYK | cmyk(74%, 0%, 76.9%, 59.2%) |
| CIE-LAB | lab(38.20, -39.43, 36.30) |
| CIE-LCH | lch(38.20, 53.60, 137.37°) |
| OKLab | oklab(45.43% -0.1072 0.0823) |
| OKLCH | oklch(45.43% 0.135 142.5) |
| XYZ | xyz(5.5669, 10.1990, 2.5392) |
| Luminance | 0.1020 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.60
Deep Green
#02590F
ΔE00 5.01
Forest
#0B5509
ΔE00 6.10
Forest Green
#2D5A27
ΔE00 6.66
Darkish Green
#287C37
ΔE00 7.44
Tree Green
#2A7E19
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B6818 #651868
analogous
#436818 #1B6818 #18683D
triadic
#1B6818 #181B68 #68181B
tetradic
#1B6818 #184368 #651868 #683D18
square
#1B6818 #184368 #651868 #683D18
split-complementary
#1B6818 #3D1868 #681843
monochromatic
#061906 #0E360D #1B6818 #289A23 #35CB2F
Accessibility & contrast
On white
6.91
#1B6818 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#1B6818 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1B6818
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B6818 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B6818 | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5E0A
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#056558
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #1b6818; /* rgb */ color: rgb(27, 104, 24); /* oklch */ color: oklch(45.4% 0.135 142.5);
Tailwind
colors: {
custom: {
50: '#65945b',
500: '#1b6818',
950: '#000000',
},
}SCSS
$custom: #1b6818; $custom-light: #65945b; $custom-dark: #000000;
JSON
{
"hex": "#1b6818",
"rgb": {
"r": 27,
"g": 104,
"b": 24
},
"hsl": {
"h": 117.75,
"s": 62.5,
"l": 25.098
},
"oklch": {
"l": 0.45425,
"c": 0.13515,
"h": 142.5
},
"luminance": 0.102
}Semantic roles & 50–950 ramp
primary
#1B6818
secondary
#9A3E9E
accent
#42E6DF
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79