#318F19#318F19
#318F19 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.2% C 0.173 H 140.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #318F19 |
|---|---|
| RGB | rgb(49, 143, 25) |
| HSL | hsl(108, 70%, 33%) |
| HSV | hsv(108, 83%, 56%) |
| CMYK | cmyk(65.7%, 0%, 82.5%, 43.9%) |
| CIE-LAB | lab(52.25, -48.58, 49.79) |
| CIE-LCH | lch(52.25, 69.57, 134.30°) |
| OKLab | oklab(57.24% -0.1332 0.1104) |
| OKLCH | oklch(57.24% 0.173 140.4) |
| XYZ | xyz(11.2640, 20.3670, 4.2571) |
| Luminance | 0.2037 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.48
True Green
#089404
ΔE00 2.52
Emerald Green
#028F1E
ΔE00 2.59
Irish Green
#019529
ΔE00 3.56
Grass Green
#3F9B0B
ΔE00 4.69
Kelley Green
#009337
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#318F19 #77198F
analogous
#6C8F19 #318F19 #198F3C
triadic
#318F19 #19318F #8F1931
tetradic
#318F19 #196C8F #77198F #8F3C19
square
#318F19 #196C8F #77198F #8F3C19
split-complementary
#318F19 #3C198F #8F196C
monochromatic
#0D2707 #1F5B10 #318F19 #43C322 #63DE44
Accessibility & contrast
On white
4.14
#318F19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#318F19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #318F19
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##318F19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##318F19 | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#887A28
Tritanopia (blue-blind)
#228A7A
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #318f19; /* rgb */ color: rgb(49, 143, 25); /* oklch */ color: oklch(57.2% 0.173 140.4);
Tailwind
colors: {
custom: {
50: '#77b161',
500: '#318f19',
950: '#000000',
},
}SCSS
$custom: #318f19; $custom-light: #77b161; $custom-dark: #000000;
JSON
{
"hex": "#318f19",
"rgb": {
"r": 49,
"g": 143,
"b": 25
},
"hsl": {
"h": 107.797,
"s": 70.238,
"l": 32.941
},
"oklch": {
"l": 0.5724,
"c": 0.17301,
"h": 140.4
},
"luminance": 0.20368
}Semantic roles & 50–950 ramp
primary
#318F19
secondary
#A644BF
accent
#3BEDC9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1105
muted
#7C807A