#1F8D2F#1F8D2F
#1F8D2F is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.4% C 0.163 H 144.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #1F8D2F |
|---|---|
| RGB | rgb(31, 141, 47) |
| HSL | hsl(129, 64%, 34%) |
| HSV | hsv(129, 78%, 55%) |
| CMYK | cmyk(78%, 0%, 66.7%, 44.7%) |
| CIE-LAB | lab(51.32, -49.48, 40.37) |
| CIE-LCH | lch(51.32, 63.86, 140.79°) |
| OKLab | oklab(56.4% -0.1336 0.0937) |
| OKLCH | oklch(56.4% 0.163 144.9) |
| XYZ | xyz(10.6023, 19.5451, 5.9026) |
| Luminance | 0.1955 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.82
Emerald Green
#028F1E
ΔE00 2.22
Kelley Green
#009337
ΔE00 2.42
Irish Green
#019529
ΔE00 3.00
True Green
#089404
ΔE00 4.70
Tree Green
#2A7E19
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F8D2F #8D1F7D
analogous
#468D1F #1F8D2F #1F8D66
triadic
#1F8D2F #2F1F8D #8D2F1F
tetradic
#1F8D2F #1F468D #8D1F7D #8D661F
square
#1F8D2F #1F468D #8D1F7D #8D661F
split-complementary
#1F8D2F #661F8D #8D1F46
monochromatic
#09290E #145B1E #1F8D2F #2ABF40 #4ED862
Accessibility & contrast
On white
4.28
#1F8D2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#1F8D2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F8D2F
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F8D2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F8D2F | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7F23
Deuteranopia (green-blind)
#837737
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #1f8d2f; /* rgb */ color: rgb(31, 141, 47); /* oklch */ color: oklch(56.4% 0.163 144.9);
Tailwind
colors: {
custom: {
50: '#6eaf6c',
500: '#1f8d2f',
950: '#000000',
},
}SCSS
$custom: #1f8d2f; $custom-light: #6eaf6c; $custom-dark: #000000;
JSON
{
"hex": "#1f8d2f",
"rgb": {
"r": 31,
"g": 141,
"b": 47
},
"hsl": {
"h": 128.727,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.564,
"c": 0.16316,
"h": 144.9
},
"luminance": 0.19546
}Semantic roles & 50–950 ramp
primary
#1F8D2F
secondary
#BB4DAB
accent
#41CFE7
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081007
muted
#7B7F7A