#1F891E#1F891E
#1F891E is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.1% C 0.170 H 142.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #1F891E |
|---|---|
| RGB | rgb(31, 137, 30) |
| HSL | hsl(119, 64%, 33%) |
| HSV | hsv(119, 78%, 54%) |
| CMYK | cmyk(77.4%, 0%, 78.1%, 46.3%) |
| CIE-LAB | lab(49.83, -49.73, 45.70) |
| CIE-LCH | lch(49.83, 67.53, 137.42°) |
| OKLab | oklab(55.12% -0.135 0.1027) |
| OKLCH | oklch(55.12% 0.17 142.7) |
| XYZ | xyz(9.7445, 18.2752, 4.2420) |
| Luminance | 0.1828 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.80
Emerald Green
#028F1E
ΔE00 2.21
Green
#008000
ΔE00 3.77
Tree Green
#2A7E19
ΔE00 3.92
Irish Green
#019529
ΔE00 4.26
True Green
#089404
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F891E #881E89
analogous
#55891E #1F891E #1E8952
triadic
#1F891E #1E1F89 #891E1F
tetradic
#1F891E #1E5589 #881E89 #89521E
square
#1F891E #1E5589 #881E89 #89521E
split-complementary
#1F891E #521E89 #891E55
monochromatic
#082508 #145713 #1F891E #2ABB29 #4BD74A
Accessibility & contrast
On white
4.51
#1F891E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#1F891E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F891E
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F891E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F891E | 1.00 | 4.51 | 4.66 | 4.66 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B05
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#008575
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #1f891e; /* rgb */ color: rgb(31, 137, 30); /* oklch */ color: oklch(55.1% 0.170 142.7);
Tailwind
colors: {
custom: {
50: '#6eac62',
500: '#1f891e',
950: '#000000',
},
}SCSS
$custom: #1f891e; $custom-light: #6eac62; $custom-dark: #000000;
JSON
{
"hex": "#1f891e",
"rgb": {
"r": 31,
"g": 137,
"b": 30
},
"hsl": {
"h": 119.439,
"s": 64.072,
"l": 32.745
},
"oklch": {
"l": 0.5512,
"c": 0.16965,
"h": 142.7
},
"luminance": 0.18276
}Semantic roles & 50–950 ramp
primary
#1F891E
secondary
#B949BA
accent
#41E7E6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A