#1F8D16#1F8D16
#1F8D16 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.2% C 0.178 H 142.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #1F8D16 |
|---|---|
| RGB | rgb(31, 141, 22) |
| HSL | hsl(115, 73%, 32%) |
| HSV | hsv(115, 84%, 55%) |
| CMYK | cmyk(78%, 0%, 84.4%, 44.7%) |
| CIE-LAB | lab(51.15, -51.57, 49.49) |
| CIE-LCH | lch(51.15, 71.47, 136.18°) |
| OKLab | oklab(56.21% -0.1404 0.1095) |
| OKLCH | oklch(56.21% 0.178 142) |
| XYZ | xyz(10.2342, 19.3978, 3.9637) |
| Luminance | 0.1940 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.46
Emerald Green
#028F1E
ΔE00 1.53
True Green
#089404
ΔE00 2.66
Irish Green
#019529
ΔE00 3.38
Kelley Green
#009337
ΔE00 4.57
Green
#008000
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F8D16 #84168D
analogous
#5B8D16 #1F8D16 #168D49
triadic
#1F8D16 #161F8D #8D161F
tetradic
#1F8D16 #165B8D #84168D #8D4916
square
#1F8D16 #165B8D #84168D #8D4916
split-complementary
#1F8D16 #49168D #8D165B
monochromatic
#082305 #13580E #1F8D16 #2BC21E #49E13D
Accessibility & contrast
On white
4.30
#1F8D16 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#1F8D16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F8D16
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F8D16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F8D16 | 1.00 | 4.30 | 4.88 | 4.88 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#847726
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #1f8d16; /* rgb */ color: rgb(31, 141, 22); /* oklch */ color: oklch(56.2% 0.178 142.0);
Tailwind
colors: {
custom: {
50: '#6faf5f',
500: '#1f8d16',
950: '#000000',
},
}SCSS
$custom: #1f8d16; $custom-light: #6faf5f; $custom-dark: #000000;
JSON
{
"hex": "#1f8d16",
"rgb": {
"r": 31,
"g": 141,
"b": 22
},
"hsl": {
"h": 115.462,
"s": 73.006,
"l": 31.961
},
"oklch": {
"l": 0.56205,
"c": 0.17802,
"h": 142
},
"luminance": 0.19399
}Semantic roles & 50–950 ramp
primary
#1F8D16
secondary
#B73EC1
accent
#38F0E2
background
#F7FAF5
surface
#EDF5EA
border
#C8CFC6
text
#091005
muted
#7B7F79