#228F1C#228F1C
#228F1C is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.177 H 142.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #228F1C |
|---|---|
| RGB | rgb(34, 143, 28) |
| HSL | hsl(117, 67%, 34%) |
| HSV | hsv(117, 80%, 56%) |
| CMYK | cmyk(76.2%, 0%, 80.4%, 43.9%) |
| CIE-LAB | lab(51.91, -51.37, 48.42) |
| CIE-LCH | lch(51.91, 70.59, 136.70°) |
| OKLab | oklab(56.87% -0.1397 0.1081) |
| OKLCH | oklch(56.87% 0.177 142.3) |
| XYZ | xyz(10.6911, 20.0676, 4.4084) |
| Luminance | 0.2007 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.30
Forestgreen (CSS)
#228B22
ΔE00 1.67
True Green
#089404
ΔE00 2.33
Irish Green
#019529
ΔE00 2.67
Kelley Green
#009337
ΔE00 4.00
Grass Green
#3F9B0B
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228F1C #891C8F
analogous
#5B8F1C #228F1C #1C8F4F
triadic
#228F1C #1C228F #8F1C22
tetradic
#228F1C #1C5B8F #891C8F #8F4F1C
square
#228F1C #1C5B8F #891C8F #8F4F1C
split-complementary
#228F1C #4F1C8F #8F1C5B
monochromatic
#0A2908 #165C12 #228F1C #2EC226 #51DC4A
Accessibility & contrast
On white
4.19
#228F1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#228F1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228F1C
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228F1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228F1C | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#86792A
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #228f1c; /* rgb */ color: rgb(34, 143, 28); /* oklch */ color: oklch(56.9% 0.177 142.3);
Tailwind
colors: {
custom: {
50: '#71b162',
500: '#228f1c',
950: '#000000',
},
}SCSS
$custom: #228f1c; $custom-light: #71b162; $custom-dark: #000000;
JSON
{
"hex": "#228f1c",
"rgb": {
"r": 34,
"g": 143,
"b": 28
},
"hsl": {
"h": 116.87,
"s": 67.251,
"l": 33.529
},
"oklch": {
"l": 0.56866,
"c": 0.17665,
"h": 142.3
},
"luminance": 0.20069
}Semantic roles & 50–950 ramp
primary
#228F1C
secondary
#B849BE
accent
#3EEAE1
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A