#317518#317518
#317518 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.9% C 0.142 H 139.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #317518 |
|---|---|
| RGB | rgb(49, 117, 24) |
| HSL | hsl(104, 66%, 28%) |
| HSV | hsv(104, 79%, 46%) |
| CMYK | cmyk(58.1%, 0%, 79.5%, 54.1%) |
| CIE-LAB | lab(43.42, -38.91, 41.72) |
| CIE-LCH | lch(43.42, 57.05, 133.00°) |
| OKLab | oklab(49.94% -0.1072 0.0934) |
| OKLCH | oklch(49.94% 0.142 139) |
| XYZ | xyz(7.7925, 13.4408, 3.0477) |
| Luminance | 0.1344 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.22
Dark Grass Green
#388004
ΔE00 4.65
Green
#008000
ΔE00 4.86
Darkish Green
#287C37
ΔE00 5.47
Darkgreen
#006400
ΔE00 6.55
Forestgreen (CSS)
#228B22
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317518 #5C1875
analogous
#5F7518 #317518 #18752E
triadic
#317518 #183175 #751831
tetradic
#317518 #185F75 #5C1875 #752E18
square
#317518 #185F75 #5C1875 #752E18
split-complementary
#317518 #2E1875 #75185F
monochromatic
#0B1905 #1C420E #317518 #46A822 #5ED532
Accessibility & contrast
On white
5.69
#317518 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#317518 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #317518
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317518 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##317518 | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796A03
Deuteranopia (green-blind)
#706422
Tritanopia (blue-blind)
#2A7163
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #317518; /* rgb */ color: rgb(49, 117, 24); /* oklch */ color: oklch(49.9% 0.142 139.0);
Tailwind
colors: {
custom: {
50: '#729d5d',
500: '#317518',
950: '#000000',
},
}SCSS
$custom: #317518; $custom-light: #729d5d; $custom-dark: #000000;
JSON
{
"hex": "#317518",
"rgb": {
"r": 49,
"g": 117,
"b": 24
},
"hsl": {
"h": 103.871,
"s": 65.957,
"l": 27.647
},
"oklch": {
"l": 0.49937,
"c": 0.1422,
"h": 139
},
"luminance": 0.13441
}Semantic roles & 50–950 ramp
primary
#317518
secondary
#8D3FAA
accent
#3FE9BB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79