#227D3C#227D3C
#227D3C is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.130 H 148.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #227D3C |
|---|---|
| RGB | rgb(34, 125, 60) |
| HSL | hsl(137, 57%, 31%) |
| HSV | hsv(137, 73%, 49%) |
| CMYK | cmyk(72.8%, 0%, 52%, 51%) |
| CIE-LAB | lab(46.09, -41.35, 27.81) |
| CIE-LCH | lch(46.09, 49.83, 146.07°) |
| OKLab | oklab(52.13% -0.1113 0.0674) |
| OKLCH | oklch(52.13% 0.13 148.8) |
| XYZ | xyz(8.8082, 15.3326, 6.7694) |
| Luminance | 0.1533 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.22
Jungle Green
#048243
ΔE00 2.45
Tree Green
#2A7E19
ΔE00 6.11
Sea Green
#2E8B57
ΔE00 6.42
Dark Sea Green
#11875D
ΔE00 7.47
Green
#008000
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227D3C #7D2263
analogous
#357D22 #227D3C #227D69
triadic
#227D3C #3C227D #7D3C22
tetradic
#227D3C #22357D #7D2263 #7D6922
square
#227D3C #22357D #7D2263 #7D6922
split-complementary
#227D3C #69227D #7D2235
monochromatic
#081D0E #154D25 #227D3C #2FAD53 #4BCE71
Accessibility & contrast
On white
5.16
#227D3C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#227D3C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227D3C
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227D3C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227D3C | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E7237
Deuteranopia (green-blind)
#736A41
Tritanopia (blue-blind)
#007A6E
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #227d3c; /* rgb */ color: rgb(34, 125, 60); /* oklch */ color: oklch(52.1% 0.130 148.8);
Tailwind
colors: {
custom: {
50: '#6ba373',
500: '#227d3c',
950: '#000000',
},
}SCSS
$custom: #227d3c; $custom-light: #6ba373; $custom-dark: #000000;
JSON
{
"hex": "#227d3c",
"rgb": {
"r": 34,
"g": 125,
"b": 60
},
"hsl": {
"h": 137.143,
"s": 57.233,
"l": 31.176
},
"oklch": {
"l": 0.52132,
"c": 0.13015,
"h": 148.8
},
"luminance": 0.15334
}Semantic roles & 50–950 ramp
primary
#227D3C
secondary
#B04B93
accent
#47B5E0
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B