#1B812E#1B812E
#1B812E is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.150 H 145.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #1B812E |
|---|---|
| RGB | rgb(27, 129, 46) |
| HSL | hsl(131, 65%, 31%) |
| HSV | hsv(131, 79%, 51%) |
| CMYK | cmyk(79.1%, 0%, 64.3%, 49.4%) |
| CIE-LAB | lab(47.14, -46.02, 36.15) |
| CIE-LCH | lch(47.14, 58.52, 141.85°) |
| OKLab | oklab(52.91% -0.124 0.0846) |
| OKLCH | oklch(52.91% 0.15 145.7) |
| XYZ | xyz(8.7948, 16.1297, 5.2341) |
| Luminance | 0.1613 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.72
Tree Green
#2A7E19
ΔE00 3.48
Jungle Green
#048243
ΔE00 4.28
Green
#008000
ΔE00 4.50
Forestgreen (CSS)
#228B22
ΔE00 4.52
Emerald Green
#028F1E
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B812E #811B6E
analogous
#3B811B #1B812E #1B8161
triadic
#1B812E #2E1B81 #812E1B
tetradic
#1B812E #1B3B81 #811B6E #81611B
square
#1B812E #1B3B81 #811B6E #81611B
split-complementary
#1B812E #611B81 #811B3B
monochromatic
#061C0A #104E1C #1B812E #26B440 #3FD75C
Accessibility & contrast
On white
4.97
#1B812E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#1B812E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1B812E
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B812E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B812E | 1.00 | 4.97 | 4.23 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837525
Deuteranopia (green-blind)
#786D35
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #1b812e; /* rgb */ color: rgb(27, 129, 46); /* oklch */ color: oklch(52.9% 0.150 145.7);
Tailwind
colors: {
custom: {
50: '#6aa76a',
500: '#1b812e',
950: '#000000',
},
}SCSS
$custom: #1b812e; $custom-light: #6aa76a; $custom-dark: #000000;
JSON
{
"hex": "#1b812e",
"rgb": {
"r": 27,
"g": 129,
"b": 46
},
"hsl": {
"h": 131.176,
"s": 65.385,
"l": 30.588
},
"oklch": {
"l": 0.52912,
"c": 0.15016,
"h": 145.7
},
"luminance": 0.16131
}Semantic roles & 50–950 ramp
primary
#1B812E
secondary
#B5439F
accent
#3FC9E8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A