#1F822F#1F822F
#1F822F is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.3% C 0.149 H 145.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #1F822F |
|---|---|
| RGB | rgb(31, 130, 47) |
| HSL | hsl(130, 61%, 32%) |
| HSV | hsv(130, 76%, 51%) |
| CMYK | cmyk(76.2%, 0%, 63.8%, 49%) |
| CIE-LAB | lab(47.57, -45.62, 36.18) |
| CIE-LCH | lch(47.57, 58.23, 141.58°) |
| OKLab | oklab(53.29% -0.1231 0.0848) |
| OKLCH | oklch(53.29% 0.149 145.4) |
| XYZ | xyz(9.0602, 16.4608, 5.3885) |
| Luminance | 0.1646 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.91
Tree Green
#2A7E19
ΔE00 3.51
Forestgreen (CSS)
#228B22
ΔE00 4.20
Jungle Green
#048243
ΔE00 4.34
Green
#008000
ΔE00 4.58
Emerald Green
#028F1E
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F822F #821F72
analogous
#41821F #1F822F #1F8261
triadic
#1F822F #2F1F82 #822F1F
tetradic
#1F822F #1F4182 #821F72 #82611F
square
#1F822F #1F4182 #821F72 #82611F
split-complementary
#1F822F #611F82 #821F41
monochromatic
#071F0B #13511D #1F822F #2BB341 #48D35F
Accessibility & contrast
On white
4.89
#1F822F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#1F822F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F822F
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F822F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F822F | 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)
#847626
Deuteranopia (green-blind)
#796E36
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #1f822f; /* rgb */ color: rgb(31, 130, 47); /* oklch */ color: oklch(53.3% 0.149 145.4);
Tailwind
colors: {
custom: {
50: '#6ba76b',
500: '#1f822f',
950: '#000000',
},
}SCSS
$custom: #1f822f; $custom-light: #6ba76b; $custom-dark: #000000;
JSON
{
"hex": "#1f822f",
"rgb": {
"r": 31,
"g": 130,
"b": 47
},
"hsl": {
"h": 129.697,
"s": 61.491,
"l": 31.569
},
"oklch": {
"l": 0.53293,
"c": 0.14946,
"h": 145.4
},
"luminance": 0.16462
}Semantic roles & 50–950 ramp
primary
#1F822F
secondary
#B548A3
accent
#43CBE5
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A