#227E4E#227E4E
#227E4E is a mid, moderate green. Relative luminance 0.158; OKLCH L 52.8% C 0.114 H 155.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #227E4E |
|---|---|
| RGB | rgb(34, 126, 78) |
| HSL | hsl(149, 58%, 31%) |
| HSV | hsv(149, 73%, 49%) |
| CMYK | cmyk(73%, 0%, 38.1%, 50.6%) |
| CIE-LAB | lab(46.73, -38.37, 18.65) |
| CIE-LCH | lch(46.73, 42.66, 154.08°) |
| OKLab | oklab(52.76% -0.1038 0.0467) |
| OKLCH | oklch(52.76% 0.114 155.8) |
| XYZ | xyz(9.4948, 15.8108, 9.7576) |
| Luminance | 0.1581 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 3.47
Dark Sea Green
#11875D
ΔE00 4.10
Sea Green
#2E8B57
ΔE00 4.85
Darkish Green
#287C37
ΔE00 5.18
Viridian
#1E9167
ΔE00 7.46
Dark Sage
#598556
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227E4E #7E2252
analogous
#247E22 #227E4E #227E7C
triadic
#227E4E #4E227E #7E4E22
tetradic
#227E4E #22247E #7E2252 #7E7C22
square
#227E4E #22247E #7E2252 #7E7C22
split-complementary
#227E4E #7C227E #7E2224
monochromatic
#081E12 #154E30 #227E4E #2FAE6C #4CCF8A
Accessibility & contrast
On white
5.05
#227E4E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#227E4E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227E4E
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227E4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227E4E | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D744B
Deuteranopia (green-blind)
#726B51
Tritanopia (blue-blind)
#007D72
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #227e4e; /* rgb */ color: rgb(34, 126, 78); /* oklch */ color: oklch(52.8% 0.114 155.8);
Tailwind
colors: {
custom: {
50: '#6ba480',
500: '#227e4e',
950: '#000000',
},
}SCSS
$custom: #227e4e; $custom-light: #6ba480; $custom-dark: #000000;
JSON
{
"hex": "#227e4e",
"rgb": {
"r": 34,
"g": 126,
"b": 78
},
"hsl": {
"h": 148.696,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.52757,
"c": 0.11381,
"h": 155.8
},
"luminance": 0.15812
}Semantic roles & 50–950 ramp
primary
#227E4E
secondary
#B14B80
accent
#4797E1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C