#1F8F2F#1F8F2F
#1F8F2F is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.166 H 144.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #1F8F2F |
|---|---|
| RGB | rgb(31, 143, 47) |
| HSL | hsl(129, 64%, 34%) |
| HSV | hsv(129, 78%, 56%) |
| CMYK | cmyk(78.3%, 0%, 67.1%, 43.9%) |
| CIE-LAB | lab(52.00, -50.16, 41.12) |
| CIE-LCH | lch(52.00, 64.86, 140.66°) |
| OKLab | oklab(56.96% -0.1354 0.0953) |
| OKLCH | oklch(56.96% 0.166 144.9) |
| XYZ | xyz(10.8999, 20.1402, 6.0018) |
| Luminance | 0.2014 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Kelley Green
#009337
ΔE00 1.99
Emerald Green
#028F1E
ΔE00 2.00
Forestgreen (CSS)
#228B22
ΔE00 2.05
Irish Green
#019529
ΔE00 2.33
True Green
#089404
ΔE00 4.24
Fern Green
#548D44
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F8F2F #8F1F7F
analogous
#478F1F #1F8F2F #1F8F67
triadic
#1F8F2F #2F1F8F #8F2F1F
tetradic
#1F8F2F #1F478F #8F1F7F #8F671F
square
#1F8F2F #1F478F #8F1F7F #8F671F
split-complementary
#1F8F2F #671F8F #8F1F47
monochromatic
#092A0E #145D1E #1F8F2F #2AC140 #4FD963
Accessibility & contrast
On white
4.18
#1F8F2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#1F8F2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F8F2F
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F8F2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F8F2F | 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)
#928123
Deuteranopia (green-blind)
#857938
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #1f8f2f; /* rgb */ color: rgb(31, 143, 47); /* oklch */ color: oklch(57.0% 0.166 144.9);
Tailwind
colors: {
custom: {
50: '#6fb16c',
500: '#1f8f2f',
950: '#000000',
},
}SCSS
$custom: #1f8f2f; $custom-light: #6fb16c; $custom-dark: #000000;
JSON
{
"hex": "#1f8f2f",
"rgb": {
"r": 31,
"g": 143,
"b": 47
},
"hsl": {
"h": 128.571,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.56962,
"c": 0.16558,
"h": 144.9
},
"luminance": 0.20141
}Semantic roles & 50–950 ramp
primary
#1F8F2F
secondary
#BC4EAC
accent
#40D0E7
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081107
muted
#7B807A