#227020#227020
#227020 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.0% C 0.137 H 142.7°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #227020 |
|---|---|
| RGB | rgb(34, 112, 32) |
| HSL | hsl(119, 56%, 28%) |
| HSV | hsv(119, 71%, 44%) |
| CMYK | cmyk(69.6%, 0%, 71.4%, 56.1%) |
| CIE-LAB | lab(41.27, -40.15, 36.16) |
| CIE-LCH | lch(41.27, 54.03, 137.99°) |
| OKLab | oklab(48.04% -0.1091 0.083) |
| OKLCH | oklch(48.04% 0.137 142.7) |
| XYZ | xyz(6.7142, 12.0320, 3.3348) |
| Luminance | 0.1203 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.80
Darkish Green
#287C37
ΔE00 4.94
Tree Green
#2A7E19
ΔE00 5.38
Green
#008000
ΔE00 6.61
Dark Grass Green
#388004
ΔE00 7.58
Deep Green
#02590F
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227020 #6E2070
analogous
#4A7020 #227020 #207046
triadic
#227020 #202270 #702022
tetradic
#227020 #204A70 #6E2070 #704620
square
#227020 #204A70 #6E2070 #704620
split-complementary
#227020 #462070 #70204A
monochromatic
#071807 #144012 #227020 #30A02E #45C942
Accessibility & contrast
On white
6.16
#227020 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#227020 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227020
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227020 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227020 | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736515
Deuteranopia (green-blind)
#695F28
Tritanopia (blue-blind)
#106D60
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #227020; /* rgb */ color: rgb(34, 112, 32); /* oklch */ color: oklch(48.0% 0.137 142.7);
Tailwind
colors: {
custom: {
50: '#699a60',
500: '#227020',
950: '#000000',
},
}SCSS
$custom: #227020; $custom-light: #699a60; $custom-dark: #000000;
JSON
{
"hex": "#227020",
"rgb": {
"r": 34,
"g": 112,
"b": 32
},
"hsl": {
"h": 118.5,
"s": 55.556,
"l": 28.235
},
"oklch": {
"l": 0.48041,
"c": 0.13712,
"h": 142.7
},
"luminance": 0.12033
}Semantic roles & 50–950 ramp
primary
#227020
secondary
#A148A4
accent
#49DFDB
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79