#227428#227428
#227428 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.136 H 144.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #227428 |
|---|---|
| RGB | rgb(34, 116, 40) |
| HSL | hsl(124, 55%, 29%) |
| HSV | hsv(124, 71%, 45%) |
| CMYK | cmyk(70.7%, 0%, 65.5%, 54.5%) |
| CIE-LAB | lab(42.74, -40.77, 34.08) |
| CIE-LCH | lch(42.74, 53.13, 140.11°) |
| OKLab | oklab(49.28% -0.1104 0.0796) |
| OKLCH | oklch(49.28% 0.136 144.2) |
| XYZ | xyz(7.2876, 12.9833, 4.1290) |
| Luminance | 0.1298 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.31
Tree Green
#2A7E19
ΔE00 4.82
Green
#008000
ΔE00 6.21
Darkgreen
#006400
ΔE00 6.33
Jungle Green
#048243
ΔE00 6.40
Dark Grass Green
#388004
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227428 #74226E
analogous
#457422 #227428 #227451
triadic
#227428 #282274 #742822
tetradic
#227428 #224574 #74226E #745122
square
#227428 #224574 #74226E #745122
split-complementary
#227428 #512274 #742245
monochromatic
#071808 #144518 #227428 #30A338 #47C951
Accessibility & contrast
On white
5.84
#227428 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#227428 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227428
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227428 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227428 | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#76691F
Deuteranopia (green-blind)
#6C622E
Tritanopia (blue-blind)
#0A7164
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #227428; /* rgb */ color: rgb(34, 116, 40); /* oklch */ color: oklch(49.3% 0.136 144.2);
Tailwind
colors: {
custom: {
50: '#699d65',
500: '#227428',
950: '#000000',
},
}SCSS
$custom: #227428; $custom-light: #699d65; $custom-dark: #000000;
JSON
{
"hex": "#227428",
"rgb": {
"r": 34,
"g": 116,
"b": 40
},
"hsl": {
"h": 124.39,
"s": 54.667,
"l": 29.412
},
"oklch": {
"l": 0.49283,
"c": 0.13607,
"h": 144.2
},
"luminance": 0.12984
}Semantic roles & 50–950 ramp
primary
#227428
secondary
#A74BA0
accent
#4AD3DE
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A