#227118#227118
#227118 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.3% C 0.144 H 141.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #227118 |
|---|---|
| RGB | rgb(34, 113, 24) |
| HSL | hsl(113, 65%, 27%) |
| HSV | hsv(113, 79%, 44%) |
| CMYK | cmyk(69.9%, 0%, 78.8%, 55.7%) |
| CIE-LAB | lab(41.56, -41.24, 39.73) |
| CIE-LCH | lch(41.56, 57.27, 136.07°) |
| OKLab | oklab(48.26% -0.1125 0.0894) |
| OKLCH | oklch(48.26% 0.144 141.5) |
| XYZ | xyz(6.7293, 12.2156, 2.8672) |
| Luminance | 0.1222 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.65
Darkgreen
#006400
ΔE00 4.71
Darkish Green
#287C37
ΔE00 5.48
Green
#008000
ΔE00 5.73
Dark Grass Green
#388004
ΔE00 6.61
Deep Green
#02590F
ΔE00 8.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227118 #671871
analogous
#4F7118 #227118 #18713A
triadic
#227118 #182271 #711822
tetradic
#227118 #184F71 #671871 #713A18
square
#227118 #184F71 #671871 #713A18
split-complementary
#227118 #3A1871 #71184F
monochromatic
#081905 #133F0D #227118 #31A323 #43D330
Accessibility & contrast
On white
6.10
#227118 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#227118 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227118
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227118 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227118 | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746605
Deuteranopia (green-blind)
#6B6022
Tritanopia (blue-blind)
#116D60
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #227118; /* rgb */ color: rgb(34, 113, 24); /* oklch */ color: oklch(48.3% 0.144 141.5);
Tailwind
colors: {
custom: {
50: '#6a9b5c',
500: '#227118',
950: '#000000',
},
}SCSS
$custom: #227118; $custom-light: #6a9b5c; $custom-dark: #000000;
JSON
{
"hex": "#227118",
"rgb": {
"r": 34,
"g": 113,
"b": 24
},
"hsl": {
"h": 113.258,
"s": 64.964,
"l": 26.863
},
"oklch": {
"l": 0.48261,
"c": 0.14372,
"h": 141.5
},
"luminance": 0.12216
}Semantic roles & 50–950 ramp
primary
#227118
secondary
#9B3EA6
accent
#40E8D5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79