#227C3A#227C3A
#227C3A is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.131 H 148.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #227C3A |
|---|---|
| RGB | rgb(34, 124, 58) |
| HSL | hsl(136, 57%, 31%) |
| HSV | hsv(136, 73%, 49%) |
| CMYK | cmyk(72.6%, 0%, 53.2%, 51.4%) |
| CIE-LAB | lab(45.72, -41.28, 28.43) |
| CIE-LCH | lch(45.72, 50.12, 145.45°) |
| OKLab | oklab(51.82% -0.1112 0.0687) |
| OKLCH | oklch(51.82% 0.131 148.3) |
| XYZ | xyz(8.6304, 15.0599, 6.4542) |
| Luminance | 0.1506 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 0.92
Jungle Green
#048243
ΔE00 2.84
Tree Green
#2A7E19
ΔE00 5.87
Sea Green
#2E8B57
ΔE00 6.86
Green
#008000
ΔE00 7.28
Forestgreen (CSS)
#228B22
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227C3A #7C2264
analogous
#377C22 #227C3A #227C67
triadic
#227C3A #3A227C #7C3A22
tetradic
#227C3A #22377C #7C2264 #7C6722
square
#227C3A #22377C #7C2264 #7C6722
split-complementary
#227C3A #67227C #7C2237
monochromatic
#081C0D #154C24 #227C3A #2FAC50 #4BCE6E
Accessibility & contrast
On white
5.23
#227C3A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#227C3A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227C3A
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227C3A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227C3A | 1.00 | 5.23 | 4.01 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D7134
Deuteranopia (green-blind)
#72693F
Tritanopia (blue-blind)
#00796D
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #227c3a; /* rgb */ color: rgb(34, 124, 58); /* oklch */ color: oklch(51.8% 0.131 148.3);
Tailwind
colors: {
custom: {
50: '#6ba372',
500: '#227c3a',
950: '#000000',
},
}SCSS
$custom: #227c3a; $custom-light: #6ba372; $custom-dark: #000000;
JSON
{
"hex": "#227c3a",
"rgb": {
"r": 34,
"g": 124,
"b": 58
},
"hsl": {
"h": 136,
"s": 56.962,
"l": 30.98
},
"oklch": {
"l": 0.51817,
"c": 0.13069,
"h": 148.3
},
"luminance": 0.15061
}Semantic roles & 50–950 ramp
primary
#227C3A
secondary
#AF4B94
accent
#48B8E0
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F08
muted
#7A7F7B