#1B8B1F#1B8B1F
#1B8B1F is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.6% C 0.172 H 143.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #1B8B1F |
|---|---|
| RGB | rgb(27, 139, 31) |
| HSL | hsl(122, 67%, 33%) |
| HSV | hsv(122, 81%, 55%) |
| CMYK | cmyk(80.6%, 0%, 77.7%, 45.5%) |
| CIE-LAB | lab(50.45, -50.91, 45.93) |
| CIE-LCH | lch(50.45, 68.57, 137.94°) |
| OKLab | oklab(55.62% -0.138 0.1034) |
| OKLCH | oklch(55.62% 0.172 143.2) |
| XYZ | xyz(9.9313, 18.7960, 4.4006) |
| Luminance | 0.1880 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.43
Emerald Green
#028F1E
ΔE00 1.51
Irish Green
#019529
ΔE00 3.54
True Green
#089404
ΔE00 3.78
Kelley Green
#009337
ΔE00 4.05
Green
#008000
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B8B1F #8B1B87
analogous
#4F8B1B #1B8B1F #1B8B57
triadic
#1B8B1F #1F1B8B #8B1F1B
tetradic
#1B8B1F #1B4F8B #8B1B87 #8B571B
square
#1B8B1F #1B4F8B #8B1B87 #8B571B
split-complementary
#1B8B1F #571B8B #8B1B4F
monochromatic
#072508 #115814 #1B8B1F #25BE2A #45DB4B
Accessibility & contrast
On white
4.41
#1B8B1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#1B8B1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1B8B1F
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B8B1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1B8B1F | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D06
Deuteranopia (green-blind)
#82752B
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #1b8b1f; /* rgb */ color: rgb(27, 139, 31); /* oklch */ color: oklch(55.6% 0.172 143.2);
Tailwind
colors: {
custom: {
50: '#6dae63',
500: '#1b8b1f',
950: '#000000',
},
}SCSS
$custom: #1b8b1f; $custom-light: #6dae63; $custom-dark: #000000;
JSON
{
"hex": "#1b8b1f",
"rgb": {
"r": 27,
"g": 139,
"b": 31
},
"hsl": {
"h": 122.143,
"s": 67.47,
"l": 32.549
},
"oklch": {
"l": 0.55617,
"c": 0.17242,
"h": 143.2
},
"luminance": 0.18797
}Semantic roles & 50–950 ramp
primary
#1B8B1F
secondary
#BC45B8
accent
#3DE4EA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A