#318D2D#318D2D
#318D2D is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.159 H 142.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #318D2D |
|---|---|
| RGB | rgb(49, 141, 45) |
| HSL | hsl(118, 52%, 36%) |
| HSV | hsv(118, 68%, 55%) |
| CMYK | cmyk(65.2%, 0%, 68.1%, 44.7%) |
| CIE-LAB | lab(51.71, -46.27, 41.81) |
| CIE-LCH | lch(51.71, 62.36, 137.90°) |
| OKLab | oklab(56.84% -0.1259 0.0964) |
| OKLCH | oklch(56.84% 0.159 142.5) |
| XYZ | xyz(11.2645, 19.8911, 5.7278) |
| Luminance | 0.1989 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.62
Emerald Green
#028F1E
ΔE00 2.50
Irish Green
#019529
ΔE00 3.30
Kelley Green
#009337
ΔE00 3.39
True Green
#089404
ΔE00 4.34
Fern Green
#548D44
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#318D2D #892D8D
analogous
#618D2D #318D2D #2D8D59
triadic
#318D2D #2D318D #8D2D31
tetradic
#318D2D #2D618D #892D8D #8D592D
square
#318D2D #2D618D #892D8D #8D592D
split-complementary
#318D2D #592D8D #8D2D61
monochromatic
#11300F #215F1E #318D2D #41BB3C #6BCE66
Accessibility & contrast
On white
4.22
#318D2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#318D2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #318D2D
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##318D2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##318D2D | 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)
#908020
Deuteranopia (green-blind)
#857836
Tritanopia (blue-blind)
#1F8979
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #318d2d; /* rgb */ color: rgb(49, 141, 45); /* oklch */ color: oklch(56.8% 0.159 142.5);
Tailwind
colors: {
custom: {
50: '#75af6b',
500: '#318d2d',
950: '#000000',
},
}SCSS
$custom: #318d2d; $custom-light: #75af6b; $custom-dark: #000000;
JSON
{
"hex": "#318d2d",
"rgb": {
"r": 49,
"g": 141,
"b": 45
},
"hsl": {
"h": 117.5,
"s": 51.613,
"l": 36.471
},
"oklch": {
"l": 0.5684,
"c": 0.15856,
"h": 142.5
},
"luminance": 0.19892
}Semantic roles & 50–950 ramp
primary
#318D2D
secondary
#B161B5
accent
#4DDBD5
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091007
muted
#7B7F7A