#227438#227438
#227438 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.5% C 0.121 H 148.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #227438 |
|---|---|
| RGB | rgb(34, 116, 56) |
| HSL | hsl(136, 55%, 29%) |
| HSV | hsv(136, 71%, 45%) |
| CMYK | cmyk(70.7%, 0%, 51.7%, 54.5%) |
| CIE-LAB | lab(42.94, -38.46, 26.06) |
| CIE-LCH | lch(42.94, 46.45, 145.88°) |
| OKLab | oklab(49.51% -0.1036 0.0633) |
| OKLCH | oklch(49.51% 0.121 148.6) |
| XYZ | xyz(7.6183, 13.1156, 5.8707) |
| Luminance | 0.1312 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.19
Jungle Green
#048243
ΔE00 5.07
Tree Green
#2A7E19
ΔE00 7.36
Spruce
#0A5F38
ΔE00 8.30
Darkgreen
#006400
ΔE00 8.36
Pine
#2B5D34
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227438 #74225E
analogous
#357422 #227438 #227461
triadic
#227438 #382274 #743822
tetradic
#227438 #223574 #74225E #746122
square
#227438 #223574 #74225E #746122
split-complementary
#227438 #612274 #742235
monochromatic
#07180B #144521 #227438 #30A34F #47C96A
Accessibility & contrast
On white
5.80
#227438 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#227438 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227438
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227438 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227438 | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756A33
Deuteranopia (green-blind)
#6B633C
Tritanopia (blue-blind)
#007266
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #227438; /* rgb */ color: rgb(34, 116, 56); /* oklch */ color: oklch(49.5% 0.121 148.6);
Tailwind
colors: {
custom: {
50: '#699d70',
500: '#227438',
950: '#000000',
},
}SCSS
$custom: #227438; $custom-light: #699d70; $custom-dark: #000000;
JSON
{
"hex": "#227438",
"rgb": {
"r": 34,
"g": 116,
"b": 56
},
"hsl": {
"h": 136.098,
"s": 54.667,
"l": 29.412
},
"oklch": {
"l": 0.49512,
"c": 0.12142,
"h": 148.6
},
"luminance": 0.13116
}Semantic roles & 50–950 ramp
primary
#227438
secondary
#A74B8E
accent
#4AB6DE
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A