#227638#227638
#227638 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.1% C 0.124 H 148.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #227638 |
|---|---|
| RGB | rgb(34, 118, 56) |
| HSL | hsl(136, 55%, 30%) |
| HSV | hsv(136, 71%, 46%) |
| CMYK | cmyk(71.2%, 0%, 52.5%, 53.7%) |
| CIE-LAB | lab(43.63, -39.26, 26.92) |
| CIE-LCH | lch(43.63, 47.60, 145.56°) |
| OKLab | oklab(50.08% -0.1058 0.0652) |
| OKLCH | oklch(50.08% 0.124 148.4) |
| XYZ | xyz(7.8513, 13.5816, 5.9484) |
| Luminance | 0.1358 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.46
Jungle Green
#048243
ΔE00 4.47
Tree Green
#2A7E19
ΔE00 6.81
Green
#008000
ΔE00 8.26
Sea Green
#2E8B57
ΔE00 8.45
Darkgreen
#006400
ΔE00 8.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227638 #762260
analogous
#367622 #227638 #227662
triadic
#227638 #382276 #763822
tetradic
#227638 #223676 #762260 #766222
square
#227638 #223676 #762260 #766222
split-complementary
#227638 #622276 #762236
monochromatic
#07180B #144621 #227638 #30A64F #48CA6A
Accessibility & contrast
On white
5.65
#227638 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#227638 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227638
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227638 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227638 | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776B33
Deuteranopia (green-blind)
#6D643C
Tritanopia (blue-blind)
#007468
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #227638; /* rgb */ color: rgb(34, 118, 56); /* oklch */ color: oklch(50.1% 0.124 148.4);
Tailwind
colors: {
custom: {
50: '#699e70',
500: '#227638',
950: '#000000',
},
}SCSS
$custom: #227638; $custom-light: #699e70; $custom-dark: #000000;
JSON
{
"hex": "#227638",
"rgb": {
"r": 34,
"g": 118,
"b": 56
},
"hsl": {
"h": 135.714,
"s": 55.263,
"l": 29.804
},
"oklch": {
"l": 0.50081,
"c": 0.12425,
"h": 148.4
},
"luminance": 0.13582
}Semantic roles & 50–950 ramp
primary
#227638
secondary
#A94B90
accent
#49B7DF
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#070E07
muted
#7A7E7A