#22741F#22741F
#22741F is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.143 H 142.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #22741F |
|---|---|
| RGB | rgb(34, 116, 31) |
| HSL | hsl(118, 58%, 29%) |
| HSV | hsv(118, 73%, 45%) |
| CMYK | cmyk(70.7%, 0%, 73.3%, 54.5%) |
| CIE-LAB | lab(42.66, -41.74, 38.06) |
| CIE-LCH | lch(42.66, 56.49, 137.64°) |
| OKLab | oklab(49.19% -0.1135 0.0869) |
| OKLCH | oklch(49.19% 0.143 142.6) |
| XYZ | xyz(7.1520, 12.9290, 3.4147) |
| Luminance | 0.1293 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.96
Darkish Green
#287C37
ΔE00 4.27
Green
#008000
ΔE00 5.24
Darkgreen
#006400
ΔE00 5.78
Dark Grass Green
#388004
ΔE00 6.31
Jungle Green
#048243
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22741F #711F74
analogous
#4D741F #22741F #1F7447
triadic
#22741F #1F2274 #741F22
tetradic
#22741F #1F4D74 #711F74 #74471F
square
#22741F #1F4D74 #711F74 #74471F
split-complementary
#22741F #471F74 #741F4D
monochromatic
#071806 #144412 #22741F #30A42C #46CC41
Accessibility & contrast
On white
5.86
#22741F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#22741F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #22741F
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22741F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22741F | 1.00 | 5.86 | 3.59 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776912
Deuteranopia (green-blind)
#6D6227
Tritanopia (blue-blind)
#0E7063
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #22741f; /* rgb */ color: rgb(34, 116, 31); /* oklch */ color: oklch(49.2% 0.143 142.6);
Tailwind
colors: {
custom: {
50: '#6a9d60',
500: '#22741f',
950: '#000000',
},
}SCSS
$custom: #22741f; $custom-light: #6a9d60; $custom-dark: #000000;
JSON
{
"hex": "#22741f",
"rgb": {
"r": 34,
"g": 116,
"b": 31
},
"hsl": {
"h": 117.882,
"s": 57.823,
"l": 28.824
},
"oklch": {
"l": 0.49189,
"c": 0.14293,
"h": 142.6
},
"luminance": 0.1293
}Semantic roles & 50–950 ramp
primary
#22741F
secondary
#A447A8
accent
#47E1DC
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79