#1F8D2E#1F8D2E
#1F8D2E is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.4% C 0.164 H 144.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #1F8D2E |
|---|---|
| RGB | rgb(31, 141, 46) |
| HSL | hsl(128, 64%, 34%) |
| HSV | hsv(128, 78%, 55%) |
| CMYK | cmyk(78%, 0%, 67.4%, 44.7%) |
| CIE-LAB | lab(51.31, -49.59, 40.81) |
| CIE-LCH | lch(51.31, 64.22, 140.55°) |
| OKLab | oklab(56.39% -0.1339 0.0945) |
| OKLCH | oklch(56.39% 0.164 144.8) |
| XYZ | xyz(10.5824, 19.5371, 5.7976) |
| Luminance | 0.1954 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.68
Emerald Green
#028F1E
ΔE00 2.10
Kelley Green
#009337
ΔE00 2.49
Irish Green
#019529
ΔE00 2.95
True Green
#089404
ΔE00 4.57
Tree Green
#2A7E19
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F8D2E #8D1F7E
analogous
#478D1F #1F8D2E #1F8D65
triadic
#1F8D2E #2E1F8D #8D2E1F
tetradic
#1F8D2E #1F478D #8D1F7E #8D651F
square
#1F8D2E #1F478D #8D1F7E #8D651F
split-complementary
#1F8D2E #651F8D #8D1F47
monochromatic
#09290D #145B1E #1F8D2E #2ABF3E #4ED861
Accessibility & contrast
On white
4.28
#1F8D2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#1F8D2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F8D2E
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F8D2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F8D2E | 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)
#907F22
Deuteranopia (green-blind)
#837737
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #1f8d2e; /* rgb */ color: rgb(31, 141, 46); /* oklch */ color: oklch(56.4% 0.164 144.8);
Tailwind
colors: {
custom: {
50: '#6eaf6b',
500: '#1f8d2e',
950: '#000000',
},
}SCSS
$custom: #1f8d2e; $custom-light: #6eaf6b; $custom-dark: #000000;
JSON
{
"hex": "#1f8d2e",
"rgb": {
"r": 31,
"g": 141,
"b": 46
},
"hsl": {
"h": 128.182,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.5639,
"c": 0.16391,
"h": 144.8
},
"luminance": 0.19538
}Semantic roles & 50–950 ramp
primary
#1F8D2E
secondary
#BB4DAC
accent
#41D0E7
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081007
muted
#7B7F7A