#1B8A1B#1B8A1B
#1B8A1B is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.3% C 0.173 H 142.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #1B8A1B |
|---|---|
| RGB | rgb(27, 138, 27) |
| HSL | hsl(120, 67%, 32%) |
| HSV | hsv(120, 80%, 54%) |
| CMYK | cmyk(80.4%, 0%, 80.4%, 45.9%) |
| CIE-LAB | lab(50.08, -50.88, 46.94) |
| CIE-LCH | lch(50.08, 69.23, 137.30°) |
| OKLab | oklab(55.31% -0.1381 0.1049) |
| OKLCH | oklch(55.31% 0.173 142.8) |
| XYZ | xyz(9.7377, 18.4879, 4.0920) |
| Luminance | 0.1849 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.79
Emerald Green
#028F1E
ΔE00 1.85
True Green
#089404
ΔE00 3.89
Green
#008000
ΔE00 3.92
Irish Green
#019529
ΔE00 3.98
Tree Green
#2A7E19
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B8A1B #8A1B8A
analogous
#538A1B #1B8A1B #1B8A53
triadic
#1B8A1B #1B1B8A #8A1B1B
tetradic
#1B8A1B #1B538A #8A1B8A #8A531B
square
#1B8A1B #1B538A #8A1B8A #8A531B
split-complementary
#1B8A1B #531B8A #8A1B53
monochromatic
#072407 #115711 #1B8A1B #25BD25 #45DB45
Accessibility & contrast
On white
4.47
#1B8A1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#1B8A1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1B8A1B
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B8A1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1B8A1B | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#817428
Tritanopia (blue-blind)
#008675
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #1b8a1b; /* rgb */ color: rgb(27, 138, 27); /* oklch */ color: oklch(55.3% 0.173 142.8);
Tailwind
colors: {
custom: {
50: '#6dad61',
500: '#1b8a1b',
950: '#000000',
},
}SCSS
$custom: #1b8a1b; $custom-light: #6dad61; $custom-dark: #000000;
JSON
{
"hex": "#1b8a1b",
"rgb": {
"r": 27,
"g": 138,
"b": 27
},
"hsl": {
"h": 120,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.55306,
"c": 0.17342,
"h": 142.8
},
"luminance": 0.18489
}Semantic roles & 50–950 ramp
primary
#1B8A1B
secondary
#BC45BC
accent
#3EEAEA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A