#318E2F#318E2F
#318E2F is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.158 H 142.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #318E2F |
|---|---|
| RGB | rgb(49, 142, 47) |
| HSL | hsl(119, 50%, 37%) |
| HSV | hsv(119, 67%, 56%) |
| CMYK | cmyk(65.5%, 0%, 66.9%, 44.3%) |
| CIE-LAB | lab(52.07, -46.43, 41.31) |
| CIE-LCH | lch(52.07, 62.15, 138.34°) |
| OKLab | oklab(57.14% -0.1262 0.0956) |
| OKLCH | oklch(57.14% 0.158 142.9) |
| XYZ | xyz(11.4521, 20.2031, 5.9848) |
| Luminance | 0.2020 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.94
Emerald Green
#028F1E
ΔE00 2.56
Irish Green
#019529
ΔE00 3.06
Kelley Green
#009337
ΔE00 3.08
True Green
#089404
ΔE00 4.34
Fern Green
#548D44
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#318E2F #8C2F8E
analogous
#618E2F #318E2F #2F8E5D
triadic
#318E2F #2F318E #8E2F31
tetradic
#318E2F #2F618E #8C2F8E #8E5D2F
square
#318E2F #2F618E #8C2F8E #8E5D2F
split-complementary
#318E2F #5D2F8E #8E2F61
monochromatic
#113211 #216020 #318E2F #41BC3E #6CCE6A
Accessibility & contrast
On white
4.17
#318E2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#318E2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #318E2F
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##318E2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##318E2F | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918123
Deuteranopia (green-blind)
#867937
Tritanopia (blue-blind)
#1E8A7A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #318e2f; /* rgb */ color: rgb(49, 142, 47); /* oklch */ color: oklch(57.1% 0.158 142.9);
Tailwind
colors: {
custom: {
50: '#75b06c',
500: '#318e2f',
950: '#000000',
},
}SCSS
$custom: #318e2f; $custom-light: #75b06c; $custom-dark: #000000;
JSON
{
"hex": "#318e2f",
"rgb": {
"r": 49,
"g": 142,
"b": 47
},
"hsl": {
"h": 118.737,
"s": 50.265,
"l": 37.059
},
"oklch": {
"l": 0.57137,
"c": 0.15833,
"h": 142.9
},
"luminance": 0.20204
}Semantic roles & 50–950 ramp
primary
#318E2F
secondary
#B364B5
accent
#4EDAD7
background
#F7FAF6
surface
#EEF5EC
border
#C9CFC7
text
#091107
muted
#7B807A