#227147#227147
#227147 is a mid, moderate green. Relative luminance 0.126; OKLCH L 49.0% C 0.102 H 155.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #227147 |
|---|---|
| RGB | rgb(34, 113, 71) |
| HSL | hsl(148, 54%, 29%) |
| HSV | hsv(148, 70%, 44%) |
| CMYK | cmyk(69.9%, 0%, 37.2%, 55.7%) |
| CIE-LAB | lab(42.16, -34.33, 16.56) |
| CIE-LCH | lch(42.16, 38.12, 154.26°) |
| OKLab | oklab(48.96% -0.093 0.0416) |
| OKLCH | oklch(48.96% 0.102 155.9) |
| XYZ | xyz(7.7014, 12.6044, 7.9870) |
| Luminance | 0.1260 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 6.13
Darkish Green
#287C37
ΔE00 6.92
Jungle Green
#048243
ΔE00 7.01
Pine
#2B5D34
ΔE00 7.13
Hunter Green
#355E3B
ΔE00 7.40
Dark Sea Green
#11875D
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227147 #71224C
analogous
#257122 #227147 #22716F
triadic
#227147 #472271 #714722
tetradic
#227147 #222571 #71224C #716F22
square
#227147 #222571 #71224C #716F22
split-complementary
#227147 #6F2271 #712225
monochromatic
#07180F #144229 #227147 #30A065 #46C783
Accessibility & contrast
On white
5.96
#227147 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#227147 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227147
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227147 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227147 | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706844
Deuteranopia (green-blind)
#66614A
Tritanopia (blue-blind)
#007066
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #227147; /* rgb */ color: rgb(34, 113, 71); /* oklch */ color: oklch(49.0% 0.102 155.9);
Tailwind
colors: {
custom: {
50: '#689a7a',
500: '#227147',
950: '#000000',
},
}SCSS
$custom: #227147; $custom-light: #689a7a; $custom-dark: #000000;
JSON
{
"hex": "#227147",
"rgb": {
"r": 34,
"g": 113,
"b": 71
},
"hsl": {
"h": 148.101,
"s": 53.741,
"l": 28.824
},
"oklch": {
"l": 0.48956,
"c": 0.1019,
"h": 155.9
},
"luminance": 0.12605
}Semantic roles & 50–950 ramp
primary
#227147
secondary
#A44A7A
accent
#4B99DD
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E09
muted
#7A7E7B