#228F2D#228F2D
#228F2D is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.166 H 144.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #228F2D |
|---|---|
| RGB | rgb(34, 143, 45) |
| HSL | hsl(126, 62%, 35%) |
| HSV | hsv(126, 76%, 56%) |
| CMYK | cmyk(76.2%, 0%, 68.5%, 43.9%) |
| CIE-LAB | lab(52.03, -49.91, 42.05) |
| CIE-LCH | lch(52.03, 65.27, 139.89°) |
| OKLab | oklab(57% -0.135 0.097) |
| OKLCH | oklch(57% 0.166 144.3) |
| XYZ | xyz(10.9551, 20.1732, 5.7986) |
| Luminance | 0.2017 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.80
Forestgreen (CSS)
#228B22
ΔE00 1.82
Irish Green
#019529
ΔE00 2.27
Kelley Green
#009337
ΔE00 2.29
True Green
#089404
ΔE00 3.95
Fern Green
#548D44
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228F2D #8F2284
analogous
#4E8F22 #228F2D #228F64
triadic
#228F2D #2D228F #8F2D22
tetradic
#228F2D #224E8F #8F2284 #8F6422
square
#228F2D #224E8F #8F2284 #8F6422
split-complementary
#228F2D #64228F #8F224E
monochromatic
#0A2C0E #165E1D #228F2D #2EC03D #55D762
Accessibility & contrast
On white
4.17
#228F2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#228F2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228F2D
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228F2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228F2D | 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)
#928120
Deuteranopia (green-blind)
#857936
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #228f2d; /* rgb */ color: rgb(34, 143, 45); /* oklch */ color: oklch(57.0% 0.166 144.3);
Tailwind
colors: {
custom: {
50: '#70b16b',
500: '#228f2d',
950: '#000000',
},
}SCSS
$custom: #228f2d; $custom-light: #70b16b; $custom-dark: #000000;
JSON
{
"hex": "#228f2d",
"rgb": {
"r": 34,
"g": 143,
"b": 45
},
"hsl": {
"h": 126.055,
"s": 61.582,
"l": 34.706
},
"oklch": {
"l": 0.57003,
"c": 0.16622,
"h": 144.3
},
"luminance": 0.20174
}Semantic roles & 50–950 ramp
primary
#228F2D
secondary
#BA52B0
accent
#43D4E5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A