#227A3A#227A3A
#227A3A is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.2% C 0.128 H 148.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #227A3A |
|---|---|
| RGB | rgb(34, 122, 58) |
| HSL | hsl(136, 56%, 31%) |
| HSV | hsv(136, 72%, 48%) |
| CMYK | cmyk(72.1%, 0%, 52.5%, 52.2%) |
| CIE-LAB | lab(45.03, -40.50, 27.58) |
| CIE-LCH | lch(45.03, 49.00, 145.75°) |
| OKLab | oklab(51.25% -0.1091 0.0668) |
| OKLCH | oklch(51.25% 0.128 148.5) |
| XYZ | xyz(8.3823, 14.5637, 6.3715) |
| Luminance | 0.1457 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.36
Jungle Green
#048243
ΔE00 3.27
Tree Green
#2A7E19
ΔE00 6.25
Sea Green
#2E8B57
ΔE00 7.29
Green
#008000
ΔE00 7.68
Dark Sea Green
#11875D
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227A3A #7A2262
analogous
#367A22 #227A3A #227A66
triadic
#227A3A #3A227A #7A3A22
tetradic
#227A3A #22367A #7A2262 #7A6622
square
#227A3A #22367A #7A2262 #7A6622
split-complementary
#227A3A #66227A #7A2236
monochromatic
#071A0C #154A23 #227A3A #2FAA51 #4ACD6E
Accessibility & contrast
On white
5.37
#227A3A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#227A3A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227A3A
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227A3A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227A3A | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6F35
Deuteranopia (green-blind)
#71683F
Tritanopia (blue-blind)
#00776B
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #227a3a; /* rgb */ color: rgb(34, 122, 58); /* oklch */ color: oklch(51.2% 0.128 148.5);
Tailwind
colors: {
custom: {
50: '#6aa171',
500: '#227a3a',
950: '#000000',
},
}SCSS
$custom: #227a3a; $custom-light: #6aa171; $custom-dark: #000000;
JSON
{
"hex": "#227a3a",
"rgb": {
"r": 34,
"g": 122,
"b": 58
},
"hsl": {
"h": 136.364,
"s": 56.41,
"l": 30.588
},
"oklch": {
"l": 0.5125,
"c": 0.12792,
"h": 148.5
},
"luminance": 0.14565
}Semantic roles & 50–950 ramp
primary
#227A3A
secondary
#AD4B92
accent
#48B6E0
background
#F6FAF6
surface
#ECF3EC
border
#C7CDC7
text
#070F08
muted
#7A7F7B