#1F8B17#1F8B17
#1F8B17 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.6% C 0.175 H 142.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #1F8B17 |
|---|---|
| RGB | rgb(31, 139, 23) |
| HSL | hsl(116, 72%, 32%) |
| HSV | hsv(116, 83%, 55%) |
| CMYK | cmyk(77.7%, 0%, 83.5%, 45.5%) |
| CIE-LAB | lab(50.47, -50.86, 48.58) |
| CIE-LCH | lch(50.47, 70.33, 136.31°) |
| OKLab | oklab(55.64% -0.1384 0.1077) |
| OKLCH | oklch(55.64% 0.175 142.1) |
| XYZ | xyz(9.9518, 18.8173, 3.9181) |
| Luminance | 0.1882 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.10
Emerald Green
#028F1E
ΔE00 1.81
True Green
#089404
ΔE00 3.36
Irish Green
#019529
ΔE00 3.87
Green
#008000
ΔE00 4.23
Tree Green
#2A7E19
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F8B17 #83178B
analogous
#598B17 #1F8B17 #178B49
triadic
#1F8B17 #171F8B #8B171F
tetradic
#1F8B17 #17598B #83178B #8B4917
square
#1F8B17 #17598B #83178B #8B4917
split-complementary
#1F8B17 #49178B #8B1759
monochromatic
#082206 #13560E #1F8B17 #2BC020 #49DF3D
Accessibility & contrast
On white
4.41
#1F8B17 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#1F8B17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F8B17
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F8B17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F8B17 | 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)
#8E7D00
Deuteranopia (green-blind)
#837526
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #1f8b17; /* rgb */ color: rgb(31, 139, 23); /* oklch */ color: oklch(55.6% 0.175 142.1);
Tailwind
colors: {
custom: {
50: '#6fae5f',
500: '#1f8b17',
950: '#000000',
},
}SCSS
$custom: #1f8b17; $custom-light: #6fae5f; $custom-dark: #000000;
JSON
{
"hex": "#1f8b17",
"rgb": {
"r": 31,
"g": 139,
"b": 23
},
"hsl": {
"h": 115.862,
"s": 71.605,
"l": 31.765
},
"oklch": {
"l": 0.55644,
"c": 0.17539,
"h": 142.1
},
"luminance": 0.18818
}Semantic roles & 50–950 ramp
primary
#1F8B17
secondary
#B63FBF
accent
#39EEE2
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79