#318D2F#318D2F
#318D2F is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.9% C 0.157 H 142.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #318D2F |
|---|---|
| RGB | rgb(49, 141, 47) |
| HSL | hsl(119, 50%, 37%) |
| HSV | hsv(119, 67%, 55%) |
| CMYK | cmyk(65.2%, 0%, 66.7%, 44.7%) |
| CIE-LAB | lab(51.73, -46.06, 40.95) |
| CIE-LCH | lch(51.73, 61.63, 138.37°) |
| OKLab | oklab(56.86% -0.1252 0.0948) |
| OKLCH | oklch(56.86% 0.157 142.9) |
| XYZ | xyz(11.3039, 19.9068, 5.9355) |
| Luminance | 0.1991 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.80
Emerald Green
#028F1E
ΔE00 2.65
Kelley Green
#009337
ΔE00 3.24
Irish Green
#019529
ΔE00 3.34
True Green
#089404
ΔE00 4.56
Fern Green
#548D44
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#318D2F #8B2F8D
analogous
#608D2F #318D2F #2F8D5C
triadic
#318D2F #2F318D #8D2F31
tetradic
#318D2F #2F608D #8B2F8D #8D5C2F
square
#318D2F #2F608D #8B2F8D #8D5C2F
split-complementary
#318D2F #5C2F8D #8D2F60
monochromatic
#113110 #215F20 #318D2F #41BB3E #6BCD69
Accessibility & contrast
On white
4.22
#318D2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#318D2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #318D2F
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##318D2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##318D2F | 1.00 | 4.22 | 4.98 | 4.98 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908023
Deuteranopia (green-blind)
#857837
Tritanopia (blue-blind)
#1E897A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #318d2f; /* rgb */ color: rgb(49, 141, 47); /* oklch */ color: oklch(56.9% 0.157 142.9);
Tailwind
colors: {
custom: {
50: '#75af6c',
500: '#318d2f',
950: '#000000',
},
}SCSS
$custom: #318d2f; $custom-light: #75af6c; $custom-dark: #000000;
JSON
{
"hex": "#318d2f",
"rgb": {
"r": 49,
"g": 141,
"b": 47
},
"hsl": {
"h": 118.723,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.5686,
"c": 0.15706,
"h": 142.9
},
"luminance": 0.19908
}Semantic roles & 50–950 ramp
primary
#318D2F
secondary
#B264B4
accent
#4EDAD7
background
#F7FAF6
surface
#EEF5EC
border
#C9CFC7
text
#091007
muted
#7B7F7A