#227248#227248
#227248 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.3% C 0.102 H 156.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #227248 |
|---|---|
| RGB | rgb(34, 114, 72) |
| HSL | hsl(149, 54%, 29%) |
| HSV | hsv(149, 70%, 45%) |
| CMYK | cmyk(70.2%, 0%, 36.8%, 55.3%) |
| CIE-LAB | lab(42.52, -34.55, 16.46) |
| CIE-LCH | lch(42.52, 38.27, 154.52°) |
| OKLab | oklab(49.26% -0.0936 0.0414) |
| OKLCH | oklch(49.26% 0.102 156.2) |
| XYZ | xyz(7.8460, 12.8417, 8.1948) |
| Luminance | 0.1284 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 6.46
Jungle Green
#048243
ΔE00 6.77
Darkish Green
#287C37
ΔE00 6.80
Pine
#2B5D34
ΔE00 7.47
Dark Sea Green
#11875D
ΔE00 7.64
Hunter Green
#355E3B
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227248 #72224C
analogous
#247222 #227248 #227270
triadic
#227248 #482272 #724822
tetradic
#227248 #222472 #72224C #727022
square
#227248 #222472 #72224C #727022
split-complementary
#227248 #702272 #722224
monochromatic
#07180F #14432A #227248 #30A166 #46C884
Accessibility & contrast
On white
5.88
#227248 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#227248 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227248
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227248 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227248 | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716945
Deuteranopia (green-blind)
#67614B
Tritanopia (blue-blind)
#007167
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #227248; /* rgb */ color: rgb(34, 114, 72); /* oklch */ color: oklch(49.3% 0.102 156.2);
Tailwind
colors: {
custom: {
50: '#689b7b',
500: '#227248',
950: '#000000',
},
}SCSS
$custom: #227248; $custom-light: #689b7b; $custom-dark: #000000;
JSON
{
"hex": "#227248",
"rgb": {
"r": 34,
"g": 114,
"b": 72
},
"hsl": {
"h": 148.5,
"s": 54.054,
"l": 29.02
},
"oklch": {
"l": 0.49261,
"c": 0.10237,
"h": 156.2
},
"luminance": 0.12843
}Semantic roles & 50–950 ramp
primary
#227248
secondary
#A54B7A
accent
#4A98DD
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E09
muted
#7A7E7B