#317F26#317F26
#317F26 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.146 H 141.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #317F26 |
|---|---|
| RGB | rgb(49, 127, 38) |
| HSL | hsl(113, 54%, 32%) |
| HSV | hsv(113, 70%, 50%) |
| CMYK | cmyk(61.4%, 0%, 70.1%, 50.2%) |
| CIE-LAB | lab(46.94, -41.66, 39.72) |
| CIE-LCH | lch(46.94, 57.56, 136.37°) |
| OKLab | oklab(52.87% -0.1138 0.0912) |
| OKLCH | oklch(52.87% 0.146 141.3) |
| XYZ | xyz(9.2054, 15.9708, 4.4309) |
| Luminance | 0.1597 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.57
Green
#008000
ΔE00 3.72
Dark Grass Green
#388004
ΔE00 3.85
Darkish Green
#287C37
ΔE00 3.86
Forestgreen (CSS)
#228B22
ΔE00 4.45
Emerald Green
#028F1E
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317F26 #74267F
analogous
#5E7F26 #317F26 #267F47
triadic
#317F26 #26317F #7F2631
tetradic
#317F26 #265E7F #74267F #7F4726
square
#317F26 #265E7F #74267F #7F4726
split-complementary
#317F26 #47267F #7F265E
monochromatic
#0D210A #1F5018 #317F26 #43AE34 #63CC54
Accessibility & contrast
On white
5.01
#317F26 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#317F26 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #317F26
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317F26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##317F26 | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82731A
Deuteranopia (green-blind)
#796D2E
Tritanopia (blue-blind)
#257B6D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #317f26; /* rgb */ color: rgb(49, 127, 38); /* oklch */ color: oklch(52.9% 0.146 141.3);
Tailwind
colors: {
custom: {
50: '#73a565',
500: '#317f26',
950: '#000000',
},
}SCSS
$custom: #317f26; $custom-light: #73a565; $custom-dark: #000000;
JSON
{
"hex": "#317f26",
"rgb": {
"r": 49,
"g": 127,
"b": 38
},
"hsl": {
"h": 112.584,
"s": 53.939,
"l": 32.353
},
"oklch": {
"l": 0.52872,
"c": 0.14581,
"h": 141.3
},
"luminance": 0.15972
}Semantic roles & 50–950 ramp
primary
#317F26
secondary
#A451B0
accent
#4ADDCB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A