#228C2C#228C2C
#228C2C is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.163 H 144.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #228C2C |
|---|---|
| RGB | rgb(34, 140, 44) |
| HSL | hsl(126, 61%, 34%) |
| HSV | hsv(126, 76%, 55%) |
| CMYK | cmyk(75.7%, 0%, 68.6%, 45.1%) |
| CIE-LAB | lab(51.01, -48.98, 41.38) |
| CIE-LCH | lch(51.01, 64.12, 139.81°) |
| OKLab | oklab(56.15% -0.1325 0.0955) |
| OKLCH | oklch(56.15% 0.163 144.2) |
| XYZ | xyz(10.4917, 19.2769, 5.5503) |
| Luminance | 0.1928 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.30
Emerald Green
#028F1E
ΔE00 2.08
Kelley Green
#009337
ΔE00 2.95
Irish Green
#019529
ΔE00 3.23
True Green
#089404
ΔE00 4.56
Tree Green
#2A7E19
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228C2C #8C2282
analogous
#4D8C22 #228C2C #228C61
triadic
#228C2C #2C228C #8C2C22
tetradic
#228C2C #224D8C #8C2282 #8C6122
square
#228C2C #224D8C #8C2282 #8C6122
split-complementary
#228C2C #61228C #8C224D
monochromatic
#0A2A0D #165B1D #228C2C #2EBD3B #53D55F
Accessibility & contrast
On white
4.32
#228C2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#228C2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228C2C
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228C2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228C2C | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7F1F
Deuteranopia (green-blind)
#837635
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #228c2c; /* rgb */ color: rgb(34, 140, 44); /* oklch */ color: oklch(56.2% 0.163 144.2);
Tailwind
colors: {
custom: {
50: '#6faf6a',
500: '#228c2c',
950: '#000000',
},
}SCSS
$custom: #228c2c; $custom-light: #6faf6a; $custom-dark: #000000;
JSON
{
"hex": "#228c2c",
"rgb": {
"r": 34,
"g": 140,
"b": 44
},
"hsl": {
"h": 125.66,
"s": 60.92,
"l": 34.118
},
"oklch": {
"l": 0.56151,
"c": 0.16331,
"h": 144.2
},
"luminance": 0.19278
}Semantic roles & 50–950 ramp
primary
#228C2C
secondary
#B951AF
accent
#44D5E4
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081007
muted
#7B7F7A