#22742F#22742F
#22742F is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.4% C 0.130 H 145.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #22742F |
|---|---|
| RGB | rgb(34, 116, 47) |
| HSL | hsl(130, 55%, 29%) |
| HSV | hsv(130, 71%, 45%) |
| CMYK | cmyk(70.7%, 0%, 59.5%, 54.5%) |
| CIE-LAB | lab(42.82, -39.85, 30.69) |
| CIE-LCH | lch(42.82, 50.29, 142.40°) |
| OKLab | oklab(49.37% -0.1076 0.0729) |
| OKLCH | oklch(49.37% 0.13 145.9) |
| XYZ | xyz(7.4177, 13.0353, 4.8139) |
| Luminance | 0.1304 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.85
Jungle Green
#048243
ΔE00 5.67
Tree Green
#2A7E19
ΔE00 5.79
Darkgreen
#006400
ΔE00 7.06
Green
#008000
ΔE00 7.22
Dark Grass Green
#388004
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22742F #742267
analogous
#3E7422 #22742F #227458
triadic
#22742F #2F2274 #742F22
tetradic
#22742F #223E74 #742267 #745822
square
#22742F #223E74 #742267 #745822
split-complementary
#22742F #582274 #74223E
monochromatic
#07180A #14451C #22742F #30A342 #47C95C
Accessibility & contrast
On white
5.82
#22742F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#22742F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #22742F
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22742F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22742F | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766928
Deuteranopia (green-blind)
#6C6234
Tritanopia (blue-blind)
#057165
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #22742f; /* rgb */ color: rgb(34, 116, 47); /* oklch */ color: oklch(49.4% 0.130 145.9);
Tailwind
colors: {
custom: {
50: '#699d6a',
500: '#22742f',
950: '#000000',
},
}SCSS
$custom: #22742f; $custom-light: #699d6a; $custom-dark: #000000;
JSON
{
"hex": "#22742f",
"rgb": {
"r": 34,
"g": 116,
"b": 47
},
"hsl": {
"h": 129.512,
"s": 54.667,
"l": 29.412
},
"oklch": {
"l": 0.49373,
"c": 0.12998,
"h": 145.9
},
"luminance": 0.13036
}Semantic roles & 50–950 ramp
primary
#22742F
secondary
#A74B98
accent
#4AC7DE
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A