#318F1F#318F1F
#318F1F is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.170 H 140.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #318F1F |
|---|---|
| RGB | rgb(49, 143, 31) |
| HSL | hsl(110, 64%, 34%) |
| HSV | hsv(110, 78%, 56%) |
| CMYK | cmyk(65.7%, 0%, 78.3%, 43.9%) |
| CIE-LAB | lab(52.28, -48.20, 47.89) |
| CIE-LCH | lch(52.28, 67.95, 135.18°) |
| OKLab | oklab(57.28% -0.1319 0.1073) |
| OKLCH | oklch(57.28% 0.17 140.9) |
| XYZ | xyz(11.3358, 20.3957, 4.6354) |
| Luminance | 0.2040 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.13
Emerald Green
#028F1E
ΔE00 2.31
True Green
#089404
ΔE00 2.75
Irish Green
#019529
ΔE00 3.21
Kelley Green
#009337
ΔE00 4.47
Grass Green
#3F9B0B
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#318F1F #7D1F8F
analogous
#698F1F #318F1F #1F8F45
triadic
#318F1F #1F318F #8F1F31
tetradic
#318F1F #1F698F #7D1F8F #8F451F
square
#318F1F #1F698F #7D1F8F #8F451F
split-complementary
#318F1F #451F8F #8F1F69
monochromatic
#0F2A09 #205D14 #318F1F #42C12A #66D94F
Accessibility & contrast
On white
4.13
#318F1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#318F1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #318F1F
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##318F1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##318F1F | 1.00 | 4.13 | 5.08 | 5.08 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938104
Deuteranopia (green-blind)
#887A2C
Tritanopia (blue-blind)
#218A7A
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #318f1f; /* rgb */ color: rgb(49, 143, 31); /* oklch */ color: oklch(57.3% 0.170 140.9);
Tailwind
colors: {
custom: {
50: '#76b164',
500: '#318f1f',
950: '#000000',
},
}SCSS
$custom: #318f1f; $custom-light: #76b164; $custom-dark: #000000;
JSON
{
"hex": "#318f1f",
"rgb": {
"r": 49,
"g": 143,
"b": 31
},
"hsl": {
"h": 110.357,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.57277,
"c": 0.17,
"h": 140.9
},
"luminance": 0.20397
}Semantic roles & 50–950 ramp
primary
#318F1F
secondary
#AA4EBC
accent
#40E7CD
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A