#227E46#227E46
#227E46 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.122 H 152.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #227E46 |
|---|---|
| RGB | rgb(34, 126, 70) |
| HSL | hsl(143, 58%, 31%) |
| HSV | hsv(143, 73%, 49%) |
| CMYK | cmyk(73%, 0%, 44.4%, 50.6%) |
| CIE-LAB | lab(46.58, -39.97, 22.97) |
| CIE-LCH | lch(46.58, 46.10, 150.11°) |
| OKLab | oklab(52.59% -0.1077 0.0568) |
| OKLCH | oklch(52.59% 0.122 152.2) |
| XYZ | xyz(9.2252, 15.7030, 8.3379) |
| Luminance | 0.1570 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 2.09
Darkish Green
#287C37
ΔE00 3.25
Sea Green
#2E8B57
ΔE00 5.13
Dark Sea Green
#11875D
ΔE00 5.52
Dark Sage
#598556
ΔE00 7.74
Tree Green
#2A7E19
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227E46 #7E225A
analogous
#2C7E22 #227E46 #227E74
triadic
#227E46 #46227E #7E4622
tetradic
#227E46 #222C7E #7E225A #7E7422
square
#227E46 #222C7E #7E225A #7E7422
split-complementary
#227E46 #74227E #7E222C
monochromatic
#081E10 #154E2B #227E46 #2FAE61 #4CCF7F
Accessibility & contrast
On white
5.07
#227E46 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#227E46 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227E46
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227E46 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227E46 | 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)
#7E7342
Deuteranopia (green-blind)
#736B4A
Tritanopia (blue-blind)
#007C70
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #227e46; /* rgb */ color: rgb(34, 126, 70); /* oklch */ color: oklch(52.6% 0.122 152.2);
Tailwind
colors: {
custom: {
50: '#6ba47a',
500: '#227e46',
950: '#000000',
},
}SCSS
$custom: #227e46; $custom-light: #6ba47a; $custom-dark: #000000;
JSON
{
"hex": "#227e46",
"rgb": {
"r": 34,
"g": 126,
"b": 70
},
"hsl": {
"h": 143.478,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.52592,
"c": 0.12174,
"h": 152.2
},
"luminance": 0.15704
}Semantic roles & 50–950 ramp
primary
#227E46
secondary
#B14B89
accent
#47A5E1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B