#228F26#228F26
#228F26 is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.171 H 143.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #228F26 |
|---|---|
| RGB | rgb(34, 143, 38) |
| HSL | hsl(122, 62%, 35%) |
| HSV | hsv(122, 76%, 56%) |
| CMYK | cmyk(76.2%, 0%, 73.4%, 43.9%) |
| CIE-LAB | lab(51.98, -50.59, 44.89) |
| CIE-LCH | lch(51.98, 67.64, 138.42°) |
| OKLab | oklab(56.94% -0.1371 0.1021) |
| OKLCH | oklch(56.94% 0.171 143.3) |
| XYZ | xyz(10.8313, 20.1237, 5.1468) |
| Luminance | 0.2013 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.21
Forestgreen (CSS)
#228B22
ΔE00 1.42
Irish Green
#019529
ΔE00 2.23
Kelley Green
#009337
ΔE00 3.01
True Green
#089404
ΔE00 3.15
Green
#008000
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#228F26 #8F228B
analogous
#548F22 #228F26 #228F5D
triadic
#228F26 #26228F #8F2622
tetradic
#228F26 #22548F #8F228B #8F5D22
square
#228F26 #22548F #8F228B #8F5D22
split-complementary
#228F26 #5D228F #8F2254
monochromatic
#0A2C0C #165E19 #228F26 #2EC033 #55D75A
Accessibility & contrast
On white
4.18
#228F26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#228F26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #228F26
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##228F26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##228F26 | 1.00 | 4.18 | 5.03 | 5.03 |
| #FFFFFF | 4.18 | 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)
#928114
Deuteranopia (green-blind)
#867931
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #228f26; /* rgb */ color: rgb(34, 143, 38); /* oklch */ color: oklch(56.9% 0.171 143.3);
Tailwind
colors: {
custom: {
50: '#70b167',
500: '#228f26',
950: '#000000',
},
}SCSS
$custom: #228f26; $custom-light: #70b167; $custom-dark: #000000;
JSON
{
"hex": "#228f26",
"rgb": {
"r": 34,
"g": 143,
"b": 38
},
"hsl": {
"h": 122.202,
"s": 61.582,
"l": 34.706
},
"oklch": {
"l": 0.56939,
"c": 0.17097,
"h": 143.3
},
"luminance": 0.20125
}Semantic roles & 50–950 ramp
primary
#228F26
secondary
#BA52B7
accent
#43DFE5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A