#1F8F2E#1F8F2E
#1F8F2E is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.166 H 144.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #1F8F2E |
|---|---|
| RGB | rgb(31, 143, 46) |
| HSL | hsl(128, 64%, 34%) |
| HSV | hsv(128, 78%, 56%) |
| CMYK | cmyk(78.3%, 0%, 67.8%, 43.9%) |
| CIE-LAB | lab(51.99, -50.27, 41.55) |
| CIE-LCH | lch(51.99, 65.22, 140.43°) |
| OKLab | oklab(56.95% -0.1358 0.0961) |
| OKLCH | oklch(56.95% 0.166 144.7) |
| XYZ | xyz(10.8799, 20.1322, 5.8967) |
| Luminance | 0.2013 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.87
Forestgreen (CSS)
#228B22
ΔE00 1.95
Kelley Green
#009337
ΔE00 2.09
Irish Green
#019529
ΔE00 2.28
True Green
#089404
ΔE00 4.11
Fern Green
#548D44
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F8F2E #8F1F80
analogous
#488F1F #1F8F2E #1F8F66
triadic
#1F8F2E #2E1F8F #8F2E1F
tetradic
#1F8F2E #1F488F #8F1F80 #8F661F
square
#1F8F2E #1F488F #8F1F80 #8F661F
split-complementary
#1F8F2E #661F8F #8F1F48
monochromatic
#092A0E #145D1E #1F8F2E #2AC13E #4FD962
Accessibility & contrast
On white
4.18
#1F8F2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#1F8F2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F8F2E
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F8F2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F8F2E | 1.00 | 4.18 | 5.03 | 5.03 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928121
Deuteranopia (green-blind)
#857937
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #1f8f2e; /* rgb */ color: rgb(31, 143, 46); /* oklch */ color: oklch(57.0% 0.166 144.7);
Tailwind
colors: {
custom: {
50: '#6fb16b',
500: '#1f8f2e',
950: '#000000',
},
}SCSS
$custom: #1f8f2e; $custom-light: #6fb16b; $custom-dark: #000000;
JSON
{
"hex": "#1f8f2e",
"rgb": {
"r": 31,
"g": 143,
"b": 46
},
"hsl": {
"h": 128.036,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.56951,
"c": 0.16632,
"h": 144.7
},
"luminance": 0.20133
}Semantic roles & 50–950 ramp
primary
#1F8F2E
secondary
#BC4EAD
accent
#40D1E7
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A