#318E1C#318E1C
#318E1C is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.170 H 140.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #318E1C |
|---|---|
| RGB | rgb(49, 142, 28) |
| HSL | hsl(109, 67%, 33%) |
| HSV | hsv(109, 80%, 56%) |
| CMYK | cmyk(65.5%, 0%, 80.3%, 44.3%) |
| CIE-LAB | lab(51.93, -48.04, 48.56) |
| CIE-LCH | lch(51.93, 68.31, 134.70°) |
| OKLab | oklab(56.98% -0.1316 0.1082) |
| OKLCH | oklch(56.98% 0.17 140.6) |
| XYZ | xyz(11.1487, 20.0817, 4.3870) |
| Luminance | 0.2008 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.05
Emerald Green
#028F1E
ΔE00 2.42
True Green
#089404
ΔE00 2.85
Irish Green
#019529
ΔE00 3.56
Kelley Green
#009337
ΔE00 4.79
Grass Green
#3F9B0B
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#318E1C #791C8E
analogous
#6A8E1C #318E1C #1C8E40
triadic
#318E1C #1C318E #8E1C31
tetradic
#318E1C #1C6A8E #791C8E #8E401C
square
#318E1C #1C6A8E #791C8E #8E401C
split-complementary
#318E1C #401C8E #8E1C6A
monochromatic
#0E2808 #1F5B12 #318E1C #43C126 #64DB49
Accessibility & contrast
On white
4.19
#318E1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#318E1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #318E1C
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##318E1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##318E1C | 1.00 | 4.19 | 5.02 | 5.02 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#228979
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #318e1c; /* rgb */ color: rgb(49, 142, 28); /* oklch */ color: oklch(57.0% 0.170 140.6);
Tailwind
colors: {
custom: {
50: '#76b062',
500: '#318e1c',
950: '#000000',
},
}SCSS
$custom: #318e1c; $custom-light: #76b062; $custom-dark: #000000;
JSON
{
"hex": "#318e1c",
"rgb": {
"r": 49,
"g": 142,
"b": 28
},
"hsl": {
"h": 108.947,
"s": 67.059,
"l": 33.333
},
"oklch": {
"l": 0.5698,
"c": 0.1704,
"h": 140.6
},
"luminance": 0.20083
}Semantic roles & 50–950 ramp
primary
#318E1C
secondary
#A849BD
accent
#3EEACA
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1106
muted
#7C807A