#31760F#31760F
#31760F is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.2% C 0.148 H 138.2°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #31760F |
|---|---|
| RGB | rgb(49, 118, 15) |
| HSL | hsl(100, 77%, 26%) |
| HSV | hsv(100, 87%, 46%) |
| CMYK | cmyk(58.5%, 0%, 87.3%, 53.7%) |
| CIE-LAB | lab(43.72, -39.83, 44.84) |
| CIE-LCH | lch(43.72, 59.98, 131.62°) |
| OKLab | oklab(50.17% -0.1102 0.0985) |
| OKLCH | oklch(50.17% 0.148 138.2) |
| XYZ | xyz(7.8310, 13.6437, 2.6727) |
| Luminance | 0.1364 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.00
Dark Grass Green
#388004
ΔE00 3.88
Green
#008000
ΔE00 4.40
Darkish Green
#287C37
ΔE00 6.26
Darkgreen
#006400
ΔE00 6.93
Avocado
#568203
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31760F #540F76
analogous
#64760F #31760F #0F7620
triadic
#31760F #0F3176 #760F31
tetradic
#31760F #0F6476 #540F76 #76200F
square
#31760F #0F6476 #540F76 #76200F
split-complementary
#31760F #200F76 #760F64
monochromatic
#0B1B03 #1A4008 #31760F #48AC16 #5EE21D
Accessibility & contrast
On white
5.63
#31760F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#31760F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #31760F
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31760F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31760F | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#71651D
Tritanopia (blue-blind)
#2B7264
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #31760f; /* rgb */ color: rgb(49, 118, 15); /* oklch */ color: oklch(50.2% 0.148 138.2);
Tailwind
colors: {
custom: {
50: '#729e59',
500: '#31760f',
950: '#000000',
},
}SCSS
$custom: #31760f; $custom-light: #729e59; $custom-dark: #000000;
JSON
{
"hex": "#31760f",
"rgb": {
"r": 49,
"g": 118,
"b": 15
},
"hsl": {
"h": 100.194,
"s": 77.444,
"l": 26.078
},
"oklch": {
"l": 0.50167,
"c": 0.14784,
"h": 138.2
},
"luminance": 0.13644
}Semantic roles & 50–950 ramp
primary
#31760F
secondary
#8533AD
accent
#34F4B5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79