#1F822B#1F822B
#1F822B is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.2% C 0.153 H 144.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #1F822B |
|---|---|
| RGB | rgb(31, 130, 43) |
| HSL | hsl(127, 61%, 32%) |
| HSV | hsv(127, 76%, 51%) |
| CMYK | cmyk(76.2%, 0%, 66.9%, 49%) |
| CIE-LAB | lab(47.53, -46.10, 38.00) |
| CIE-LCH | lch(47.53, 59.74, 140.50°) |
| OKLab | oklab(53.25% -0.1246 0.0882) |
| OKLCH | oklch(53.25% 0.153 144.7) |
| XYZ | xyz(8.9831, 16.4300, 4.9829) |
| Luminance | 0.1643 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.95
Darkish Green
#287C37
ΔE00 3.37
Forestgreen (CSS)
#228B22
ΔE00 3.81
Green
#008000
ΔE00 3.97
Jungle Green
#048243
ΔE00 4.97
Emerald Green
#028F1E
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F822B #821F76
analogous
#45821F #1F822B #1F825D
triadic
#1F822B #2B1F82 #822B1F
tetradic
#1F822B #1F4582 #821F76 #825D1F
square
#1F822B #1F4582 #821F76 #825D1F
split-complementary
#1F822B #5D1F82 #821F45
monochromatic
#071F0A #13511B #1F822B #2BB33B #48D359
Accessibility & contrast
On white
4.90
#1F822B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#1F822B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F822B
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F822B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F822B | 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)
#847520
Deuteranopia (green-blind)
#796E33
Tritanopia (blue-blind)
#007E70
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #1f822b; /* rgb */ color: rgb(31, 130, 43); /* oklch */ color: oklch(53.2% 0.153 144.7);
Tailwind
colors: {
custom: {
50: '#6ca768',
500: '#1f822b',
950: '#000000',
},
}SCSS
$custom: #1f822b; $custom-light: #6ca768; $custom-dark: #000000;
JSON
{
"hex": "#1f822b",
"rgb": {
"r": 31,
"g": 130,
"b": 43
},
"hsl": {
"h": 127.273,
"s": 61.491,
"l": 31.569
},
"oklch": {
"l": 0.53247,
"c": 0.15265,
"h": 144.7
},
"luminance": 0.16431
}Semantic roles & 50–950 ramp
primary
#1F822B
secondary
#B548A8
accent
#43D1E5
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A