#1F8A1E#1F8A1E
#1F8A1E is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.4% C 0.171 H 142.7°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #1F8A1E |
|---|---|
| RGB | rgb(31, 138, 30) |
| HSL | hsl(119, 64%, 33%) |
| HSV | hsv(119, 78%, 54%) |
| CMYK | cmyk(77.5%, 0%, 78.3%, 45.9%) |
| CIE-LAB | lab(50.17, -50.06, 46.03) |
| CIE-LCH | lch(50.17, 68.01, 137.40°) |
| OKLab | oklab(55.4% -0.1359 0.1034) |
| OKLCH | oklch(55.4% 0.171 142.7) |
| XYZ | xyz(9.8873, 18.5609, 4.2896) |
| Luminance | 0.1856 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.53
Emerald Green
#028F1E
ΔE00 1.90
Irish Green
#019529
ΔE00 3.93
True Green
#089404
ΔE00 4.01
Green
#008000
ΔE00 4.07
Tree Green
#2A7E19
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F8A1E #891E8A
analogous
#558A1E #1F8A1E #1E8A53
triadic
#1F8A1E #1E1F8A #8A1E1F
tetradic
#1F8A1E #1E558A #891E8A #8A531E
square
#1F8A1E #1E558A #891E8A #8A531E
split-complementary
#1F8A1E #531E8A #8A1E55
monochromatic
#082508 #145813 #1F8A1E #2ABC29 #4CD84B
Accessibility & contrast
On white
4.46
#1F8A1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#1F8A1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F8A1E
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F8A1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F8A1E | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C05
Deuteranopia (green-blind)
#81742A
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #1f8a1e; /* rgb */ color: rgb(31, 138, 30); /* oklch */ color: oklch(55.4% 0.171 142.7);
Tailwind
colors: {
custom: {
50: '#6ead62',
500: '#1f8a1e',
950: '#000000',
},
}SCSS
$custom: #1f8a1e; $custom-light: #6ead62; $custom-dark: #000000;
JSON
{
"hex": "#1f8a1e",
"rgb": {
"r": 31,
"g": 138,
"b": 30
},
"hsl": {
"h": 119.444,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.55404,
"c": 0.17079,
"h": 142.7
},
"luminance": 0.18562
}Semantic roles & 50–950 ramp
primary
#1F8A1E
secondary
#B94ABA
accent
#41E7E6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A