#227018#227018
#227018 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.0% C 0.142 H 141.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #227018 |
|---|---|
| RGB | rgb(34, 112, 24) |
| HSL | hsl(113, 65%, 27%) |
| HSV | hsv(113, 79%, 44%) |
| CMYK | cmyk(69.6%, 0%, 78.6%, 56.1%) |
| CIE-LAB | lab(41.21, -40.87, 39.39) |
| CIE-LCH | lch(41.21, 56.76, 136.06°) |
| OKLab | oklab(47.97% -0.1115 0.0887) |
| OKLCH | oklch(47.97% 0.142 141.5) |
| XYZ | xyz(6.6184, 11.9937, 2.8302) |
| Luminance | 0.1199 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.43
Tree Green
#2A7E19
ΔE00 4.99
Darkish Green
#287C37
ΔE00 5.66
Green
#008000
ΔE00 6.06
Dark Grass Green
#388004
ΔE00 6.91
Deep Green
#02590F
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227018 #661870
analogous
#4E7018 #227018 #18703A
triadic
#227018 #182270 #701822
tetradic
#227018 #184E70 #661870 #703A18
square
#227018 #184E70 #661870 #703A18
split-complementary
#227018 #3A1870 #70184E
monochromatic
#081905 #133E0D #227018 #31A223 #42D330
Accessibility & contrast
On white
6.18
#227018 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#227018 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227018
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227018 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227018 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736506
Deuteranopia (green-blind)
#6A5F22
Tritanopia (blue-blind)
#126C5F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #227018; /* rgb */ color: rgb(34, 112, 24); /* oklch */ color: oklch(48.0% 0.142 141.5);
Tailwind
colors: {
custom: {
50: '#699a5c',
500: '#227018',
950: '#000000',
},
}SCSS
$custom: #227018; $custom-light: #699a5c; $custom-dark: #000000;
JSON
{
"hex": "#227018",
"rgb": {
"r": 34,
"g": 112,
"b": 24
},
"hsl": {
"h": 113.182,
"s": 64.706,
"l": 26.667
},
"oklch": {
"l": 0.47971,
"c": 0.14249,
"h": 141.5
},
"luminance": 0.11994
}Semantic roles & 50–950 ramp
primary
#227018
secondary
#9A3EA5
accent
#40E8D5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79