#227E43#227E43
#227E43 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.125 H 151.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #227E43 |
|---|---|
| RGB | rgb(34, 126, 67) |
| HSL | hsl(142, 58%, 31%) |
| HSV | hsv(142, 73%, 49%) |
| CMYK | cmyk(73%, 0%, 46.8%, 50.6%) |
| CIE-LAB | lab(46.53, -40.53, 24.57) |
| CIE-LCH | lch(46.53, 47.39, 148.77°) |
| OKLab | oklab(52.54% -0.1091 0.0604) |
| OKLCH | oklch(52.54% 0.125 151.1) |
| XYZ | xyz(9.1329, 15.6660, 7.8516) |
| Luminance | 0.1567 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 1.89
Darkish Green
#287C37
ΔE00 2.59
Sea Green
#2E8B57
ΔE00 5.39
Dark Sea Green
#11875D
ΔE00 6.10
Tree Green
#2A7E19
ΔE00 7.46
Dark Sage
#598556
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227E43 #7E225D
analogous
#2F7E22 #227E43 #227E71
triadic
#227E43 #43227E #7E4322
tetradic
#227E43 #222F7E #7E225D #7E7122
square
#227E43 #222F7E #7E225D #7E7122
split-complementary
#227E43 #71227E #7E222F
monochromatic
#081E10 #154E29 #227E43 #2FAE5D #4CCF7B
Accessibility & contrast
On white
5.08
#227E43 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#227E43 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227E43
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227E43 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227E43 | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F733F
Deuteranopia (green-blind)
#736B47
Tritanopia (blue-blind)
#007C70
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #227e43; /* rgb */ color: rgb(34, 126, 67); /* oklch */ color: oklch(52.5% 0.125 151.1);
Tailwind
colors: {
custom: {
50: '#6ba478',
500: '#227e43',
950: '#000000',
},
}SCSS
$custom: #227e43; $custom-light: #6ba478; $custom-dark: #000000;
JSON
{
"hex": "#227e43",
"rgb": {
"r": 34,
"g": 126,
"b": 67
},
"hsl": {
"h": 141.522,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.52535,
"c": 0.12471,
"h": 151.1
},
"luminance": 0.15667
}Semantic roles & 50–950 ramp
primary
#227E43
secondary
#B14B8C
accent
#47AAE1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B