#1B6812#1B6812
#1B6812 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.4% C 0.139 H 141.7°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #1B6812 |
|---|---|
| RGB | rgb(27, 104, 18) |
| HSL | hsl(114, 70%, 24%) |
| HSV | hsv(114, 83%, 41%) |
| CMYK | cmyk(74%, 0%, 82.7%, 59.2%) |
| CIE-LAB | lab(38.16, -39.91, 38.52) |
| CIE-LCH | lch(38.16, 55.47, 136.01°) |
| OKLab | oklab(45.38% -0.1088 0.086) |
| OKLCH | oklch(45.38% 0.139 141.7) |
| XYZ | xyz(5.5112, 10.1767, 2.2460) |
| Luminance | 0.1018 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.12
Deep Green
#02590F
ΔE00 5.20
Forest
#0B5509
ΔE00 6.17
Forest Green
#2D5A27
ΔE00 7.13
Tree Green
#2A7E19
ΔE00 7.64
Darkish Green
#287C37
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B6812 #5F1268
analogous
#466812 #1B6812 #126834
triadic
#1B6812 #121B68 #68121B
tetradic
#1B6812 #124668 #5F1268 #683412
square
#1B6812 #124668 #5F1268 #683412
split-complementary
#1B6812 #341268 #681246
monochromatic
#071A05 #0D3409 #1B6812 #299C1B #36D024
Accessibility & contrast
On white
6.92
#1B6812 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#1B6812 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1B6812
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B6812 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B6812 | 1.00 | 6.92 | 3.04 | 6.92 |
| #FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#62581C
Tritanopia (blue-blind)
#076558
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #1b6812; /* rgb */ color: rgb(27, 104, 18); /* oklch */ color: oklch(45.4% 0.139 141.7);
Tailwind
colors: {
custom: {
50: '#659458',
500: '#1b6812',
950: '#000000',
},
}SCSS
$custom: #1b6812; $custom-light: #659458; $custom-dark: #000000;
JSON
{
"hex": "#1b6812",
"rgb": {
"r": 27,
"g": 104,
"b": 18
},
"hsl": {
"h": 113.721,
"s": 70.492,
"l": 23.922
},
"oklch": {
"l": 0.45379,
"c": 0.13873,
"h": 141.7
},
"luminance": 0.10177
}Semantic roles & 50–950 ramp
primary
#1B6812
secondary
#9536A0
accent
#3BEDDB
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D03
muted
#7A7E78