#228F2C#228F2C
#228F2C is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.167 H 144.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #228F2C |
|---|---|
| RGB | rgb(34, 143, 44) |
| HSL | hsl(126, 62%, 35%) |
| HSV | hsv(126, 76%, 56%) |
| CMYK | cmyk(76.2%, 0%, 69.2%, 43.9%) |
| CIE-LAB | lab(52.02, -50.02, 42.47) |
| CIE-LCH | lch(52.02, 65.62, 139.66°) |
| OKLab | oklab(56.99% -0.1353 0.0978) |
| OKLCH | oklch(56.99% 0.167 144.1) |
| XYZ | xyz(10.9360, 20.1656, 5.6984) |
| Luminance | 0.2017 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.69
Forestgreen (CSS)
#228B22
ΔE00 1.73
Irish Green
#019529
ΔE00 2.24
Kelley Green
#009337
ΔE00 2.39
True Green
#089404
ΔE00 3.82
Fern Green
#548D44
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228F2C #8F2285
analogous
#4E8F22 #228F2C #228F63
triadic
#228F2C #2C228F #8F2C22
tetradic
#228F2C #224E8F #8F2285 #8F6322
square
#228F2C #224E8F #8F2285 #8F6322
split-complementary
#228F2C #63228F #8F224E
monochromatic
#0A2C0E #165E1D #228F2C #2EC03B #55D761
Accessibility & contrast
On white
4.17
#228F2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#228F2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228F2C
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228F2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228F2C | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92811E
Deuteranopia (green-blind)
#867935
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #228f2c; /* rgb */ color: rgb(34, 143, 44); /* oklch */ color: oklch(57.0% 0.167 144.1);
Tailwind
colors: {
custom: {
50: '#70b16a',
500: '#228f2c',
950: '#000000',
},
}SCSS
$custom: #228f2c; $custom-light: #70b16a; $custom-dark: #000000;
JSON
{
"hex": "#228f2c",
"rgb": {
"r": 34,
"g": 143,
"b": 44
},
"hsl": {
"h": 125.505,
"s": 61.582,
"l": 34.706
},
"oklch": {
"l": 0.56993,
"c": 0.16693,
"h": 144.1
},
"luminance": 0.20167
}Semantic roles & 50–950 ramp
primary
#228F2C
secondary
#BA52B1
accent
#43D6E5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A