#228A1E#228A1E
#228A1E is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.5% C 0.170 H 142.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #228A1E |
|---|---|
| RGB | rgb(34, 138, 30) |
| HSL | hsl(118, 64%, 33%) |
| HSV | hsv(118, 78%, 54%) |
| CMYK | cmyk(75.4%, 0%, 78.3%, 45.9%) |
| CIE-LAB | lab(50.23, -49.56, 46.11) |
| CIE-LCH | lch(50.23, 67.69, 137.07°) |
| OKLab | oklab(55.47% -0.1347 0.1036) |
| OKLCH | oklch(55.47% 0.17 142.5) |
| XYZ | xyz(9.9819, 18.6096, 4.2940) |
| Luminance | 0.1861 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.53
Emerald Green
#028F1E
ΔE00 1.98
Irish Green
#019529
ΔE00 3.97
True Green
#089404
ΔE00 3.99
Green
#008000
ΔE00 4.12
Tree Green
#2A7E19
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228A1E #861E8A
analogous
#588A1E #228A1E #1E8A50
triadic
#228A1E #1E228A #8A1E22
tetradic
#228A1E #1E588A #861E8A #8A501E
square
#228A1E #1E588A #861E8A #8A501E
split-complementary
#228A1E #501E8A #8A1E58
monochromatic
#092508 #165813 #228A1E #2EBC29 #50D84B
Accessibility & contrast
On white
4.45
#228A1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#228A1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228A1E
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228A1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228A1E | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C05
Deuteranopia (green-blind)
#82742A
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #228a1e; /* rgb */ color: rgb(34, 138, 30); /* oklch */ color: oklch(55.5% 0.170 142.5);
Tailwind
colors: {
custom: {
50: '#6fad62',
500: '#228a1e',
950: '#000000',
},
}SCSS
$custom: #228a1e; $custom-light: #6fad62; $custom-dark: #000000;
JSON
{
"hex": "#228a1e",
"rgb": {
"r": 34,
"g": 138,
"b": 30
},
"hsl": {
"h": 117.778,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.55468,
"c": 0.16993,
"h": 142.5
},
"luminance": 0.18611
}Semantic roles & 50–950 ramp
primary
#228A1E
secondary
#B64ABA
accent
#41E7E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A