#318C1F#318C1F
#318C1F is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.4% C 0.166 H 140.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #318C1F |
|---|---|
| RGB | rgb(49, 140, 31) |
| HSL | hsl(110, 64%, 34%) |
| HSV | hsv(110, 78%, 55%) |
| CMYK | cmyk(65%, 0%, 77.9%, 45.1%) |
| CIE-LAB | lab(51.28, -47.12, 46.91) |
| CIE-LCH | lch(51.28, 66.49, 135.13°) |
| OKLab | oklab(56.44% -0.129 0.1052) |
| OKLCH | oklch(56.44% 0.166 140.8) |
| XYZ | xyz(10.8915, 19.5070, 4.4873) |
| Luminance | 0.1951 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.48
Emerald Green
#028F1E
ΔE00 2.42
True Green
#089404
ΔE00 3.52
Irish Green
#019529
ΔE00 3.86
Kelley Green
#009337
ΔE00 4.73
Dark Grass Green
#388004
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#318C1F #7A1F8C
analogous
#678C1F #318C1F #1F8C43
triadic
#318C1F #1F318C #8C1F31
tetradic
#318C1F #1F678C #7A1F8C #8C431F
square
#318C1F #1F678C #7A1F8C #8C431F
split-complementary
#318C1F #431F8C #8C1F67
monochromatic
#0E2809 #1F5A14 #318C1F #43BE2A #64D84E
Accessibility & contrast
On white
4.28
#318C1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#318C1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #318C1F
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##318C1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##318C1F | 1.00 | 4.28 | 4.90 | 4.90 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F06
Deuteranopia (green-blind)
#85772B
Tritanopia (blue-blind)
#228777
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #318c1f; /* rgb */ color: rgb(49, 140, 31); /* oklch */ color: oklch(56.4% 0.166 140.8);
Tailwind
colors: {
custom: {
50: '#76ae63',
500: '#318c1f',
950: '#000000',
},
}SCSS
$custom: #318c1f; $custom-light: #76ae63; $custom-dark: #000000;
JSON
{
"hex": "#318c1f",
"rgb": {
"r": 49,
"g": 140,
"b": 31
},
"hsl": {
"h": 110.092,
"s": 63.743,
"l": 33.529
},
"oklch": {
"l": 0.56444,
"c": 0.16645,
"h": 140.8
},
"luminance": 0.19508
}Semantic roles & 50–950 ramp
primary
#318C1F
secondary
#A84CBB
accent
#41E7CB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A