#1B862A#1B862A
#1B862A is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.159 H 144.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #1B862A |
|---|---|
| RGB | rgb(27, 134, 42) |
| HSL | hsl(128, 66%, 32%) |
| HSV | hsv(128, 80%, 53%) |
| CMYK | cmyk(79.9%, 0%, 68.7%, 47.5%) |
| CIE-LAB | lab(48.82, -48.22, 39.84) |
| CIE-LCH | lch(48.82, 62.55, 140.44°) |
| OKLab | oklab(54.29% -0.1302 0.092) |
| OKLCH | oklch(54.29% 0.159 144.7) |
| XYZ | xyz(9.3944, 17.4493, 5.0630) |
| Luminance | 0.1745 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.47
Tree Green
#2A7E19
ΔE00 3.60
Emerald Green
#028F1E
ΔE00 3.69
Green
#008000
ΔE00 4.07
Darkish Green
#287C37
ΔE00 4.67
Kelley Green
#009337
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B862A #861B77
analogous
#42861B #1B862A #1B8660
triadic
#1B862A #2A1B86 #862A1B
tetradic
#1B862A #1B4286 #861B77 #86601B
square
#1B862A #1B4286 #861B77 #86601B
split-complementary
#1B862A #601B86 #861B42
monochromatic
#06200A #11531A #1B862A #25B93A #42D958
Accessibility & contrast
On white
4.68
#1B862A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#1B862A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1B862A
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B862A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B862A | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88791E
Deuteranopia (green-blind)
#7D7133
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #1b862a; /* rgb */ color: rgb(27, 134, 42); /* oklch */ color: oklch(54.3% 0.159 144.7);
Tailwind
colors: {
custom: {
50: '#6baa68',
500: '#1b862a',
950: '#000000',
},
}SCSS
$custom: #1b862a; $custom-light: #6baa68; $custom-dark: #000000;
JSON
{
"hex": "#1b862a",
"rgb": {
"r": 27,
"g": 134,
"b": 42
},
"hsl": {
"h": 128.411,
"s": 66.46,
"l": 31.569
},
"oklch": {
"l": 0.54292,
"c": 0.15944,
"h": 144.7
},
"luminance": 0.1745
}Semantic roles & 50–950 ramp
primary
#1B862A
secondary
#B944A9
accent
#3ED1E9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A