#1B8A1C#1B8A1C
#1B8A1C is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.3% C 0.173 H 142.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #1B8A1C |
|---|---|
| RGB | rgb(27, 138, 28) |
| HSL | hsl(121, 67%, 32%) |
| HSV | hsv(121, 80%, 54%) |
| CMYK | cmyk(80.4%, 0%, 79.7%, 45.9%) |
| CIE-LAB | lab(50.09, -50.81, 46.62) |
| CIE-LCH | lch(50.09, 68.95, 137.46°) |
| OKLab | oklab(55.31% -0.1379 0.1044) |
| OKLCH | oklch(55.31% 0.173 142.9) |
| XYZ | xyz(9.7495, 18.4926, 4.1540) |
| Luminance | 0.1849 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.72
Emerald Green
#028F1E
ΔE00 1.84
True Green
#089404
ΔE00 3.94
Irish Green
#019529
ΔE00 3.95
Green
#008000
ΔE00 3.95
Tree Green
#2A7E19
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B8A1C #8A1B89
analogous
#518A1B #1B8A1C #1B8A54
triadic
#1B8A1C #1C1B8A #8A1C1B
tetradic
#1B8A1C #1B518A #8A1B89 #8A541B
square
#1B8A1C #1B518A #8A1B89 #8A541B
split-complementary
#1B8A1C #541B8A #8A1B51
monochromatic
#072407 #115712 #1B8A1C #25BD26 #45DB46
Accessibility & contrast
On white
4.47
#1B8A1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#1B8A1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1B8A1C
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B8A1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1B8A1C | 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)
#817429
Tritanopia (blue-blind)
#008675
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #1b8a1c; /* rgb */ color: rgb(27, 138, 28); /* oklch */ color: oklch(55.3% 0.173 142.9);
Tailwind
colors: {
custom: {
50: '#6dad61',
500: '#1b8a1c',
950: '#000000',
},
}SCSS
$custom: #1b8a1c; $custom-light: #6dad61; $custom-dark: #000000;
JSON
{
"hex": "#1b8a1c",
"rgb": {
"r": 27,
"g": 138,
"b": 28
},
"hsl": {
"h": 120.541,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.55312,
"c": 0.17291,
"h": 142.9
},
"luminance": 0.18494
}Semantic roles & 50–950 ramp
primary
#1B8A1C
secondary
#BC45BB
accent
#3EE9EA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A