#1F822E#1F822E
#1F822E is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.3% C 0.150 H 145.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #1F822E |
|---|---|
| RGB | rgb(31, 130, 46) |
| HSL | hsl(129, 61%, 32%) |
| HSV | hsv(129, 76%, 51%) |
| CMYK | cmyk(76.2%, 0%, 64.6%, 49%) |
| CIE-LAB | lab(47.56, -45.74, 36.64) |
| CIE-LCH | lch(47.56, 58.61, 141.30°) |
| OKLab | oklab(53.28% -0.1235 0.0857) |
| OKLCH | oklch(53.28% 0.15 145.2) |
| XYZ | xyz(9.0402, 16.4528, 5.2835) |
| Luminance | 0.1645 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.02
Tree Green
#2A7E19
ΔE00 3.37
Forestgreen (CSS)
#228B22
ΔE00 4.09
Green
#008000
ΔE00 4.42
Jungle Green
#048243
ΔE00 4.50
Emerald Green
#028F1E
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F822E #821F73
analogous
#42821F #1F822E #1F8260
triadic
#1F822E #2E1F82 #822E1F
tetradic
#1F822E #1F4282 #821F73 #82601F
square
#1F822E #1F4282 #821F73 #82601F
split-complementary
#1F822E #601F82 #821F42
monochromatic
#071F0B #13511D #1F822E #2BB33F #48D35D
Accessibility & contrast
On white
4.89
#1F822E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#1F822E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F822E
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F822E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F822E | 1.00 | 4.89 | 4.29 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847624
Deuteranopia (green-blind)
#796E35
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #1f822e; /* rgb */ color: rgb(31, 130, 46); /* oklch */ color: oklch(53.3% 0.150 145.2);
Tailwind
colors: {
custom: {
50: '#6ba76a',
500: '#1f822e',
950: '#000000',
},
}SCSS
$custom: #1f822e; $custom-light: #6ba76a; $custom-dark: #000000;
JSON
{
"hex": "#1f822e",
"rgb": {
"r": 31,
"g": 130,
"b": 46
},
"hsl": {
"h": 129.091,
"s": 61.491,
"l": 31.569
},
"oklch": {
"l": 0.53281,
"c": 0.15027,
"h": 145.2
},
"luminance": 0.16454
}Semantic roles & 50–950 ramp
primary
#1F822E
secondary
#B548A4
accent
#43CCE5
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A