#1F8E2F#1F8E2F
#1F8E2F is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.164 H 144.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #1F8E2F |
|---|---|
| RGB | rgb(31, 142, 47) |
| HSL | hsl(129, 64%, 34%) |
| HSV | hsv(129, 78%, 56%) |
| CMYK | cmyk(78.2%, 0%, 66.9%, 44.3%) |
| CIE-LAB | lab(51.66, -49.82, 40.75) |
| CIE-LCH | lch(51.66, 64.36, 140.72°) |
| OKLab | oklab(56.68% -0.1345 0.0945) |
| OKLCH | oklch(56.68% 0.164 144.9) |
| XYZ | xyz(10.7504, 19.8413, 5.9519) |
| Luminance | 0.1984 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.91
Emerald Green
#028F1E
ΔE00 2.08
Kelley Green
#009337
ΔE00 2.19
Irish Green
#019529
ΔE00 2.66
True Green
#089404
ΔE00 4.46
Fern Green
#548D44
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F8E2F #8E1F7E
analogous
#478E1F #1F8E2F #1F8E67
triadic
#1F8E2F #2F1F8E #8E2F1F
tetradic
#1F8E2F #1F478E #8E1F7E #8E671F
square
#1F8E2F #1F478E #8E1F7E #8E671F
split-complementary
#1F8E2F #671F8E #8E1F47
monochromatic
#092A0E #145C1E #1F8E2F #2AC040 #4FD963
Accessibility & contrast
On white
4.23
#1F8E2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#1F8E2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F8E2F
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F8E2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F8E2F | 1.00 | 4.23 | 4.97 | 4.97 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908023
Deuteranopia (green-blind)
#847838
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #1f8e2f; /* rgb */ color: rgb(31, 142, 47); /* oklch */ color: oklch(56.7% 0.164 144.9);
Tailwind
colors: {
custom: {
50: '#6eb06c',
500: '#1f8e2f',
950: '#000000',
},
}SCSS
$custom: #1f8e2f; $custom-light: #6eb06c; $custom-dark: #000000;
JSON
{
"hex": "#1f8e2f",
"rgb": {
"r": 31,
"g": 142,
"b": 47
},
"hsl": {
"h": 128.649,
"s": 64.162,
"l": 33.922
},
"oklch": {
"l": 0.56681,
"c": 0.16437,
"h": 144.9
},
"luminance": 0.19843
}Semantic roles & 50–950 ramp
primary
#1F8E2F
secondary
#BB4DAC
accent
#41CFE7
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081107
muted
#7B807A