#22711F#22711F
#22711F is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.3% C 0.139 H 142.6°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #22711F |
|---|---|
| RGB | rgb(34, 113, 31) |
| HSL | hsl(118, 57%, 28%) |
| HSV | hsv(118, 73%, 44%) |
| CMYK | cmyk(69.9%, 0%, 72.6%, 55.7%) |
| CIE-LAB | lab(41.61, -40.63, 36.96) |
| CIE-LCH | lch(41.61, 54.92, 137.70°) |
| OKLab | oklab(48.32% -0.1105 0.0846) |
| OKLCH | oklch(48.32% 0.139 142.6) |
| XYZ | xyz(6.8117, 12.2486, 3.3013) |
| Luminance | 0.1225 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.81
Darkgreen
#006400
ΔE00 4.98
Tree Green
#2A7E19
ΔE00 4.98
Green
#008000
ΔE00 6.20
Dark Grass Green
#388004
ΔE00 7.18
Jungle Green
#048243
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22711F #6E1F71
analogous
#4B711F #22711F #1F7145
triadic
#22711F #1F2271 #711F22
tetradic
#22711F #1F4B71 #6E1F71 #71451F
square
#22711F #1F4B71 #6E1F71 #71451F
split-complementary
#22711F #451F71 #711F4B
monochromatic
#071807 #144112 #22711F #30A12C #45CB40
Accessibility & contrast
On white
6.09
#22711F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#22711F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #22711F
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22711F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22711F | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746613
Deuteranopia (green-blind)
#6A6027
Tritanopia (blue-blind)
#0F6E61
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #22711f; /* rgb */ color: rgb(34, 113, 31); /* oklch */ color: oklch(48.3% 0.139 142.6);
Tailwind
colors: {
custom: {
50: '#699b60',
500: '#22711f',
950: '#000000',
},
}SCSS
$custom: #22711f; $custom-light: #699b60; $custom-dark: #000000;
JSON
{
"hex": "#22711f",
"rgb": {
"r": 34,
"g": 113,
"b": 31
},
"hsl": {
"h": 117.805,
"s": 56.944,
"l": 28.235
},
"oklch": {
"l": 0.48321,
"c": 0.13913,
"h": 142.6
},
"luminance": 0.12249
}Semantic roles & 50–950 ramp
primary
#22711F
secondary
#A147A5
accent
#48E0DB
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79