#317D2C#317D2C
#317D2C is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.4% C 0.138 H 142.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #317D2C |
|---|---|
| RGB | rgb(49, 125, 44) |
| HSL | hsl(116, 48%, 33%) |
| HSV | hsv(116, 65%, 49%) |
| CMYK | cmyk(60.8%, 0%, 64.8%, 51%) |
| CIE-LAB | lab(46.31, -40.24, 36.31) |
| CIE-LCH | lch(46.31, 54.20, 137.94°) |
| OKLab | oklab(52.38% -0.1096 0.0847) |
| OKLCH | oklch(52.38% 0.138 142.3) |
| XYZ | xyz(9.0544, 15.5012, 4.8973) |
| Luminance | 0.1550 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.63
Darkish Green
#287C37
ΔE00 2.65
Green
#008000
ΔE00 4.69
Dark Grass Green
#388004
ΔE00 5.05
Forestgreen (CSS)
#228B22
ΔE00 5.46
Jungle Green
#048243
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317D2C #782C7D
analogous
#597D2C #317D2C #2C7D4F
triadic
#317D2C #2C317D #7D2C31
tetradic
#317D2C #2C597D #782C7D #7D4F2C
square
#317D2C #2C597D #782C7D #7D4F2C
split-complementary
#317D2C #4F2C7D #7D2C59
monochromatic
#0E220C #1F501C #317D2C #43AA3C #64C65D
Accessibility & contrast
On white
5.12
#317D2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#317D2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #317D2C
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317D2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##317D2C | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807223
Deuteranopia (green-blind)
#766B33
Tritanopia (blue-blind)
#25796C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #317d2c; /* rgb */ color: rgb(49, 125, 44); /* oklch */ color: oklch(52.4% 0.138 142.3);
Tailwind
colors: {
custom: {
50: '#72a369',
500: '#317d2c',
950: '#000000',
},
}SCSS
$custom: #317d2c; $custom-light: #72a369; $custom-dark: #000000;
JSON
{
"hex": "#317d2c",
"rgb": {
"r": 49,
"g": 125,
"b": 44
},
"hsl": {
"h": 116.296,
"s": 47.929,
"l": 33.137
},
"oklch": {
"l": 0.52376,
"c": 0.13848,
"h": 142.3
},
"luminance": 0.15502
}Semantic roles & 50–950 ramp
primary
#317D2C
secondary
#A759AC
accent
#50D8CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A