#1F822D#1F822D
#1F822D is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.151 H 145.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #1F822D |
|---|---|
| RGB | rgb(31, 130, 45) |
| HSL | hsl(128, 61%, 32%) |
| HSV | hsv(128, 76%, 51%) |
| CMYK | cmyk(76.2%, 0%, 65.4%, 49%) |
| CIE-LAB | lab(47.55, -45.86, 37.10) |
| CIE-LCH | lch(47.55, 58.99, 141.03°) |
| OKLab | oklab(53.27% -0.1238 0.0865) |
| OKLCH | oklch(53.27% 0.151 145.1) |
| XYZ | xyz(9.0207, 16.4450, 5.1809) |
| Luminance | 0.1645 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.13
Tree Green
#2A7E19
ΔE00 3.22
Forestgreen (CSS)
#228B22
ΔE00 3.99
Green
#008000
ΔE00 4.27
Jungle Green
#048243
ΔE00 4.66
Emerald Green
#028F1E
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F822D #821F74
analogous
#43821F #1F822D #1F825F
triadic
#1F822D #2D1F82 #822D1F
tetradic
#1F822D #1F4382 #821F74 #825F1F
square
#1F822D #1F4382 #821F74 #825F1F
split-complementary
#1F822D #5F1F82 #821F43
monochromatic
#071F0B #13511C #1F822D #2BB33E #48D35C
Accessibility & contrast
On white
4.90
#1F822D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#1F822D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F822D
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F822D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F822D | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847623
Deuteranopia (green-blind)
#796E34
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #1f822d; /* rgb */ color: rgb(31, 130, 45); /* oklch */ color: oklch(53.3% 0.151 145.1);
Tailwind
colors: {
custom: {
50: '#6ca76a',
500: '#1f822d',
950: '#000000',
},
}SCSS
$custom: #1f822d; $custom-light: #6ca76a; $custom-dark: #000000;
JSON
{
"hex": "#1f822d",
"rgb": {
"r": 31,
"g": 130,
"b": 45
},
"hsl": {
"h": 128.485,
"s": 61.491,
"l": 31.569
},
"oklch": {
"l": 0.53269,
"c": 0.15108,
"h": 145.1
},
"luminance": 0.16446
}Semantic roles & 50–950 ramp
primary
#1F822D
secondary
#B548A5
accent
#43CEE5
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A