#22702F#22702F
#22702F is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.124 H 146.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #22702F |
|---|---|
| RGB | rgb(34, 112, 47) |
| HSL | hsl(130, 53%, 29%) |
| HSV | hsv(130, 70%, 44%) |
| CMYK | cmyk(69.6%, 0%, 58%, 56.1%) |
| CIE-LAB | lab(41.43, -38.28, 29.04) |
| CIE-LCH | lch(41.43, 48.05, 142.82°) |
| OKLab | oklab(48.22% -0.1034 0.0693) |
| OKLCH | oklch(48.22% 0.124 146.2) |
| XYZ | xyz(6.9665, 12.1329, 4.6635) |
| Luminance | 0.1213 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.16
Darkgreen
#006400
ΔE00 6.50
Jungle Green
#048243
ΔE00 6.69
Tree Green
#2A7E19
ΔE00 7.04
Pine
#2B5D34
ΔE00 7.73
Forest Green
#2D5A27
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22702F #702263
analogous
#3C7022 #22702F #227056
triadic
#22702F #2F2270 #702F22
tetradic
#22702F #223C70 #702263 #705622
square
#22702F #223C70 #702263 #705622
split-complementary
#22702F #562270 #70223C
monochromatic
#07170A #14411B #22702F #309F43 #46C75B
Accessibility & contrast
On white
6.13
#22702F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#22702F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #22702F
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22702F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22702F | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726629
Deuteranopia (green-blind)
#685F34
Tritanopia (blue-blind)
#086D61
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #22702f; /* rgb */ color: rgb(34, 112, 47); /* oklch */ color: oklch(48.2% 0.124 146.2);
Tailwind
colors: {
custom: {
50: '#689a69',
500: '#22702f',
950: '#000000',
},
}SCSS
$custom: #22702f; $custom-light: #689a69; $custom-dark: #000000;
JSON
{
"hex": "#22702f",
"rgb": {
"r": 34,
"g": 112,
"b": 47
},
"hsl": {
"h": 130,
"s": 53.425,
"l": 28.627
},
"oklch": {
"l": 0.48224,
"c": 0.12444,
"h": 146.2
},
"luminance": 0.12134
}Semantic roles & 50–950 ramp
primary
#22702F
secondary
#A34A95
accent
#4BC5DD
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A