#228F1E#228F1E
#228F1E is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.176 H 142.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #228F1E |
|---|---|
| RGB | rgb(34, 143, 30) |
| HSL | hsl(118, 65%, 34%) |
| HSV | hsv(118, 79%, 56%) |
| CMYK | cmyk(76.2%, 0%, 79%, 43.9%) |
| CIE-LAB | lab(51.92, -51.23, 47.77) |
| CIE-LCH | lch(51.92, 70.05, 137.01°) |
| OKLab | oklab(56.88% -0.1393 0.107) |
| OKLCH | oklch(56.88% 0.176 142.5) |
| XYZ | xyz(10.7158, 20.0775, 4.5386) |
| Luminance | 0.2008 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.21
Forestgreen (CSS)
#228B22
ΔE00 1.57
True Green
#089404
ΔE00 2.46
Irish Green
#019529
ΔE00 2.56
Kelley Green
#009337
ΔE00 3.82
Grass Green
#3F9B0B
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228F1E #8B1E8F
analogous
#5B8F1E #228F1E #1E8F53
triadic
#228F1E #1E228F #8F1E22
tetradic
#228F1E #1E5B8F #8B1E8F #8F531E
square
#228F1E #1E5B8F #8B1E8F #8F531E
split-complementary
#228F1E #531E8F #8F1E5B
monochromatic
#0A2A09 #165C13 #228F1E #2EC229 #53DA4E
Accessibility & contrast
On white
4.19
#228F1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#228F1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228F1E
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228F1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228F1E | 1.00 | 4.19 | 5.02 | 5.02 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928101
Deuteranopia (green-blind)
#86792B
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #228f1e; /* rgb */ color: rgb(34, 143, 30); /* oklch */ color: oklch(56.9% 0.176 142.5);
Tailwind
colors: {
custom: {
50: '#71b163',
500: '#228f1e',
950: '#000000',
},
}SCSS
$custom: #228f1e; $custom-light: #71b163; $custom-dark: #000000;
JSON
{
"hex": "#228f1e",
"rgb": {
"r": 34,
"g": 143,
"b": 30
},
"hsl": {
"h": 117.876,
"s": 65.318,
"l": 33.922
},
"oklch": {
"l": 0.56879,
"c": 0.17562,
"h": 142.5
},
"luminance": 0.20079
}Semantic roles & 50–950 ramp
primary
#228F1E
secondary
#B84CBC
accent
#40E8E2
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A