#1F8B1B#1F8B1B
#1F8B1B is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.173 H 142.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #1F8B1B |
|---|---|
| RGB | rgb(31, 139, 27) |
| HSL | hsl(118, 67%, 33%) |
| HSV | hsv(118, 81%, 55%) |
| CMYK | cmyk(77.7%, 0%, 80.6%, 45.5%) |
| CIE-LAB | lab(50.49, -50.61, 47.36) |
| CIE-LCH | lch(50.49, 69.31, 136.90°) |
| OKLab | oklab(55.67% -0.1375 0.1058) |
| OKLCH | oklch(55.67% 0.174 142.4) |
| XYZ | xyz(9.9949, 18.8345, 4.1454) |
| Luminance | 0.1884 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.73
Emerald Green
#028F1E
ΔE00 1.66
True Green
#089404
ΔE00 3.52
Irish Green
#019529
ΔE00 3.72
Green
#008000
ΔE00 4.30
Kelley Green
#009337
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F8B1B #871B8B
analogous
#578B1B #1F8B1B #1B8B4F
triadic
#1F8B1B #1B1F8B #8B1B1F
tetradic
#1F8B1B #1B578B #871B8B #8B4F1B
square
#1F8B1B #1B578B #871B8B #8B4F1B
split-complementary
#1F8B1B #4F1B8B #8B1B57
monochromatic
#082507 #145811 #1F8B1B #2ABE25 #4BDB45
Accessibility & contrast
On white
4.41
#1F8B1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#1F8B1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F8B1B
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F8B1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F8B1B | 1.00 | 4.41 | 4.77 | 4.77 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#827528
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #1f8b1b; /* rgb */ color: rgb(31, 139, 27); /* oklch */ color: oklch(55.7% 0.173 142.4);
Tailwind
colors: {
custom: {
50: '#6fae61',
500: '#1f8b1b',
950: '#000000',
},
}SCSS
$custom: #1f8b1b; $custom-light: #6fae61; $custom-dark: #000000;
JSON
{
"hex": "#1f8b1b",
"rgb": {
"r": 31,
"g": 139,
"b": 27
},
"hsl": {
"h": 117.857,
"s": 67.47,
"l": 32.549
},
"oklch": {
"l": 0.55667,
"c": 0.1735,
"h": 142.4
},
"luminance": 0.18836
}Semantic roles & 50–950 ramp
primary
#1F8B1B
secondary
#B845BC
accent
#3DEAE4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A