#1B8A2F#1B8A2F
#1B8A2F is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.5% C 0.161 H 145.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #1B8A2F |
|---|---|
| RGB | rgb(27, 138, 47) |
| HSL | hsl(131, 67%, 32%) |
| HSV | hsv(131, 80%, 54%) |
| CMYK | cmyk(80.4%, 0%, 65.9%, 45.9%) |
| CIE-LAB | lab(50.23, -49.03, 39.15) |
| CIE-LCH | lch(50.23, 62.74, 141.39°) |
| OKLab | oklab(55.48% -0.1322 0.0911) |
| OKLCH | oklch(55.48% 0.161 145.4) |
| XYZ | xyz(10.0528, 18.6140, 5.7518) |
| Luminance | 0.1862 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.09
Emerald Green
#028F1E
ΔE00 2.91
Kelley Green
#009337
ΔE00 3.22
Irish Green
#019529
ΔE00 4.06
Tree Green
#2A7E19
ΔE00 4.96
Green
#008000
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B8A2F #8A1B76
analogous
#3E8A1B #1B8A2F #1B8A67
triadic
#1B8A2F #2F1B8A #8A2F1B
tetradic
#1B8A2F #1B3E8A #8A1B76 #8A671B
square
#1B8A2F #1B3E8A #8A1B76 #8A671B
split-complementary
#1B8A2F #671B8A #8A1B3E
monochromatic
#07240C #11571E #1B8A2F #25BD40 #45DB60
Accessibility & contrast
On white
4.45
#1B8A2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#1B8A2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1B8A2F
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B8A2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1B8A2F | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7D24
Deuteranopia (green-blind)
#807437
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #1b8a2f; /* rgb */ color: rgb(27, 138, 47); /* oklch */ color: oklch(55.5% 0.161 145.4);
Tailwind
colors: {
custom: {
50: '#6cad6b',
500: '#1b8a2f',
950: '#000000',
},
}SCSS
$custom: #1b8a2f; $custom-light: #6cad6b; $custom-dark: #000000;
JSON
{
"hex": "#1b8a2f",
"rgb": {
"r": 27,
"g": 138,
"b": 47
},
"hsl": {
"h": 130.811,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.55479,
"c": 0.16054,
"h": 145.4
},
"luminance": 0.18615
}Semantic roles & 50–950 ramp
primary
#1B8A2F
secondary
#BC45A7
accent
#3ECBEA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A