#318E22#318E22
#318E22 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.167 H 141.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #318E22 |
|---|---|
| RGB | rgb(49, 142, 34) |
| HSL | hsl(112, 61%, 35%) |
| HSV | hsv(112, 76%, 56%) |
| CMYK | cmyk(65.5%, 0%, 76.1%, 44.3%) |
| CIE-LAB | lab(51.97, -47.62, 46.51) |
| CIE-LCH | lch(51.97, 66.57, 135.67°) |
| OKLab | oklab(57.02% -0.1301 0.1048) |
| OKLCH | oklch(57.02% 0.167 141.2) |
| XYZ | xyz(11.2278, 20.1134, 4.8036) |
| Luminance | 0.2011 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.72
Emerald Green
#028F1E
ΔE00 2.21
True Green
#089404
ΔE00 3.15
Irish Green
#019529
ΔE00 3.26
Kelley Green
#009337
ΔE00 4.25
Grass Green
#3F9B0B
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#318E22 #7F228E
analogous
#678E22 #318E22 #228E49
triadic
#318E22 #22318E #8E2231
tetradic
#318E22 #22678E #7F228E #8E4922
square
#318E22 #22678E #7F228E #8E4922
split-complementary
#318E22 #49228E #8E2267
monochromatic
#0F2B0A #205D16 #318E22 #42BF2E #66D654
Accessibility & contrast
On white
4.18
#318E22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#318E22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #318E22
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##318E22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##318E22 | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92810C
Deuteranopia (green-blind)
#87792D
Tritanopia (blue-blind)
#218979
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #318e22; /* rgb */ color: rgb(49, 142, 34); /* oklch */ color: oklch(57.0% 0.167 141.2);
Tailwind
colors: {
custom: {
50: '#76b065',
500: '#318e22',
950: '#000000',
},
}SCSS
$custom: #318e22; $custom-light: #76b065; $custom-dark: #000000;
JSON
{
"hex": "#318e22",
"rgb": {
"r": 49,
"g": 142,
"b": 34
},
"hsl": {
"h": 111.667,
"s": 61.364,
"l": 34.51
},
"oklch": {
"l": 0.57021,
"c": 0.16712,
"h": 141.2
},
"luminance": 0.20114
}Semantic roles & 50–950 ramp
primary
#318E22
secondary
#AB52BA
accent
#43E4CE
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1106
muted
#7C807A