#227E45#227E45
#227E45 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.123 H 151.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #227E45 |
|---|---|
| RGB | rgb(34, 126, 69) |
| HSL | hsl(143, 58%, 31%) |
| HSV | hsv(143, 73%, 49%) |
| CMYK | cmyk(73%, 0%, 45.2%, 50.6%) |
| CIE-LAB | lab(46.57, -40.16, 23.50) |
| CIE-LCH | lch(46.57, 46.53, 149.66°) |
| OKLab | oklab(52.57% -0.1082 0.058) |
| OKLCH | oklch(52.57% 0.123 151.8) |
| XYZ | xyz(9.1939, 15.6904, 8.1731) |
| Luminance | 0.1569 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 2.00
Darkish Green
#287C37
ΔE00 3.03
Sea Green
#2E8B57
ΔE00 5.21
Dark Sea Green
#11875D
ΔE00 5.71
Dark Sage
#598556
ΔE00 7.76
Tree Green
#2A7E19
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227E45 #7E225B
analogous
#2D7E22 #227E45 #227E73
triadic
#227E45 #45227E #7E4522
tetradic
#227E45 #222D7E #7E225B #7E7322
square
#227E45 #222D7E #7E225B #7E7322
split-complementary
#227E45 #73227E #7E222D
monochromatic
#081E10 #154E2B #227E45 #2FAE5F #4CCF7E
Accessibility & contrast
On white
5.07
#227E45 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#227E45 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227E45
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227E45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227E45 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E7341
Deuteranopia (green-blind)
#736B49
Tritanopia (blue-blind)
#007C70
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #227e45; /* rgb */ color: rgb(34, 126, 69); /* oklch */ color: oklch(52.6% 0.123 151.8);
Tailwind
colors: {
custom: {
50: '#6ba479',
500: '#227e45',
950: '#000000',
},
}SCSS
$custom: #227e45; $custom-light: #6ba479; $custom-dark: #000000;
JSON
{
"hex": "#227e45",
"rgb": {
"r": 34,
"g": 126,
"b": 69
},
"hsl": {
"h": 142.826,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.52573,
"c": 0.12273,
"h": 151.8
},
"luminance": 0.15691
}Semantic roles & 50–950 ramp
primary
#227E45
secondary
#B14B8A
accent
#47A6E1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B