#227048#227048
#227048 is a mid, moderate green. Relative luminance 0.124; OKLCH L 48.7% C 0.099 H 156.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #227048 |
|---|---|
| RGB | rgb(34, 112, 72) |
| HSL | hsl(149, 53%, 29%) |
| HSV | hsv(149, 70%, 44%) |
| CMYK | cmyk(69.6%, 0%, 35.7%, 56.1%) |
| CIE-LAB | lab(41.84, -33.68, 15.54) |
| CIE-LCH | lch(41.84, 37.09, 155.24°) |
| OKLab | oklab(48.7% -0.0914 0.0391) |
| OKLCH | oklch(48.7% 0.099 156.8) |
| XYZ | xyz(7.6229, 12.3955, 8.1205) |
| Luminance | 0.1240 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 5.83
Pine
#2B5D34
ΔE00 6.94
Hunter Green
#355E3B
ΔE00 7.12
Darkish Green
#287C37
ΔE00 7.51
Jungle Green
#048243
ΔE00 7.56
Dark Sea Green
#11875D
ΔE00 8.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227048 #70224A
analogous
#237022 #227048 #22706F
triadic
#227048 #482270 #704822
tetradic
#227048 #222370 #70224A #706F22
square
#227048 #222370 #70224A #706F22
split-complementary
#227048 #6F2270 #702223
monochromatic
#07170F #14412A #227048 #309F66 #46C785
Accessibility & contrast
On white
6.04
#227048 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#227048 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227048
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227048 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227048 | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F6745
Deuteranopia (green-blind)
#65604B
Tritanopia (blue-blind)
#006F66
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #227048; /* rgb */ color: rgb(34, 112, 72); /* oklch */ color: oklch(48.7% 0.099 156.8);
Tailwind
colors: {
custom: {
50: '#689a7b',
500: '#227048',
950: '#000000',
},
}SCSS
$custom: #227048; $custom-light: #689a7b; $custom-dark: #000000;
JSON
{
"hex": "#227048",
"rgb": {
"r": 34,
"g": 112,
"b": 72
},
"hsl": {
"h": 149.231,
"s": 53.425,
"l": 28.627
},
"oklch": {
"l": 0.48697,
"c": 0.09942,
"h": 156.8
},
"luminance": 0.12396
}Semantic roles & 50–950 ramp
primary
#227048
secondary
#A34A78
accent
#4B96DD
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E09
muted
#7A7E7B