#1F8B2E#1F8B2E
#1F8B2E is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.8% C 0.161 H 144.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #1F8B2E |
|---|---|
| RGB | rgb(31, 139, 46) |
| HSL | hsl(128, 64%, 33%) |
| HSV | hsv(128, 78%, 55%) |
| CMYK | cmyk(77.7%, 0%, 66.9%, 45.5%) |
| CIE-LAB | lab(50.63, -48.90, 40.06) |
| CIE-LCH | lch(50.63, 63.22, 140.67°) |
| OKLab | oklab(55.83% -0.132 0.0929) |
| OKLCH | oklch(55.83% 0.161 144.9) |
| XYZ | xyz(10.2901, 18.9526, 5.7001) |
| Luminance | 0.1895 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.70
Emerald Green
#028F1E
ΔE00 2.52
Kelley Green
#009337
ΔE00 3.02
Irish Green
#019529
ΔE00 3.65
Tree Green
#2A7E19
ΔE00 5.10
True Green
#089404
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F8B2E #8B1F7C
analogous
#468B1F #1F8B2E #1F8B64
triadic
#1F8B2E #2E1F8B #8B2E1F
tetradic
#1F8B2E #1F468B #8B1F7C #8B641F
square
#1F8B2E #1F468B #8B1F7C #8B641F
split-complementary
#1F8B2E #641F8B #8B1F46
monochromatic
#09270D #14591D #1F8B2E #2ABD3F #4DD760
Accessibility & contrast
On white
4.38
#1F8B2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#1F8B2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F8B2E
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F8B2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F8B2E | 1.00 | 4.38 | 4.79 | 4.79 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7E22
Deuteranopia (green-blind)
#817536
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #1f8b2e; /* rgb */ color: rgb(31, 139, 46); /* oklch */ color: oklch(55.8% 0.161 144.9);
Tailwind
colors: {
custom: {
50: '#6eae6b',
500: '#1f8b2e',
950: '#000000',
},
}SCSS
$custom: #1f8b2e; $custom-light: #6eae6b; $custom-dark: #000000;
JSON
{
"hex": "#1f8b2e",
"rgb": {
"r": 31,
"g": 139,
"b": 46
},
"hsl": {
"h": 128.333,
"s": 63.529,
"l": 33.333
},
"oklch": {
"l": 0.55827,
"c": 0.16147,
"h": 144.9
},
"luminance": 0.18954
}Semantic roles & 50–950 ramp
primary
#1F8B2E
secondary
#BA4CAB
accent
#41D0E7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A