#1B8F2A#1B8F2A
#1B8F2A is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.170 H 144.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #1B8F2A |
|---|---|
| RGB | rgb(27, 143, 42) |
| HSL | hsl(128, 68%, 33%) |
| HSV | hsv(128, 81%, 56%) |
| CMYK | cmyk(81.1%, 0%, 70.6%, 43.9%) |
| CIE-LAB | lab(51.89, -51.25, 43.13) |
| CIE-LCH | lch(51.89, 66.99, 139.92°) |
| OKLab | oklab(56.84% -0.1384 0.099) |
| OKLCH | oklch(56.84% 0.17 144.4) |
| XYZ | xyz(10.6916, 20.0438, 5.4954) |
| Luminance | 0.2004 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.36
Forestgreen (CSS)
#228B22
ΔE00 1.67
Irish Green
#019529
ΔE00 2.11
Kelley Green
#009337
ΔE00 2.37
True Green
#089404
ΔE00 3.67
Green
#008000
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B8F2A #8F1B80
analogous
#468F1B #1B8F2A #1B8F64
triadic
#1B8F2A #2A1B8F #8F2A1B
tetradic
#1B8F2A #1B468F #8F1B80 #8F641B
square
#1B8F2A #1B468F #8F1B80 #8F641B
split-complementary
#1B8F2A #641B8F #8F1B46
monochromatic
#08280C #115C1B #1B8F2A #25C239 #48DC5B
Accessibility & contrast
On white
4.19
#1B8F2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#1B8F2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1B8F2A
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B8F2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1B8F2A | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92811B
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #1b8f2a; /* rgb */ color: rgb(27, 143, 42); /* oklch */ color: oklch(56.8% 0.170 144.4);
Tailwind
colors: {
custom: {
50: '#6eb169',
500: '#1b8f2a',
950: '#000000',
},
}SCSS
$custom: #1b8f2a; $custom-light: #6eb169; $custom-dark: #000000;
JSON
{
"hex": "#1b8f2a",
"rgb": {
"r": 27,
"g": 143,
"b": 42
},
"hsl": {
"h": 127.759,
"s": 68.235,
"l": 33.333
},
"oklch": {
"l": 0.56839,
"c": 0.17017,
"h": 144.4
},
"luminance": 0.20045
}Semantic roles & 50–950 ramp
primary
#1B8F2A
secondary
#BE48AF
accent
#3DD5EB
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A