#757E31#757E31
#757E31 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 56.9% C 0.101 H 115.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #757E31 |
|---|---|
| RGB | rgb(117, 126, 49) |
| HSL | hsl(67, 44%, 34%) |
| HSV | hsv(67, 61%, 49%) |
| CMYK | cmyk(7.1%, 0%, 61.1%, 50.6%) |
| CIE-LAB | lab(50.60, -14.77, 39.79) |
| CIE-LCH | lch(50.60, 42.45, 110.37°) |
| OKLab | oklab(56.9% -0.0434 0.0918) |
| OKLCH | oklch(56.9% 0.101 115.3) |
| XYZ | xyz(15.3517, 18.9256, 5.7494) |
| Luminance | 0.1893 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 3.26
Khaki Green
#728639
ΔE00 3.82
Dirty Green
#667E2C
ΔE00 4.05
Murky Green
#6C7A0E
ΔE00 4.20
Drab
#828344
ΔE00 4.21
Poop Green
#6F7C00
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#757E31 #3A317E
analogous
#7E6131 #757E31 #4F7E31
triadic
#757E31 #31757E #7E3175
tetradic
#757E31 #317E61 #3A317E #7E314F
square
#757E31 #317E61 #3A317E #7E314F
split-complementary
#757E31 #314F7E #61317E
monochromatic
#23260F #4C5220 #757E31 #9EAA42 #B9C366
Accessibility & contrast
On white
4.39
#757E31 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#757E31 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #757E31
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##757E31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##757E31 | 1.00 | 4.39 | 4.79 | 4.79 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877828
Deuteranopia (green-blind)
#867936
Tritanopia (blue-blind)
#7C776D
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #757e31; /* rgb */ color: rgb(117, 126, 49); /* oklch */ color: oklch(56.9% 0.101 115.3);
Tailwind
colors: {
custom: {
50: '#9fa36c',
500: '#757e31',
950: '#000000',
},
}SCSS
$custom: #757e31; $custom-light: #9fa36c; $custom-dark: #000000;
JSON
{
"hex": "#757e31",
"rgb": {
"r": 117,
"g": 126,
"b": 49
},
"hsl": {
"h": 67.013,
"s": 44,
"l": 34.314
},
"oklch": {
"l": 0.56904,
"c": 0.10149,
"h": 115.3
},
"luminance": 0.18925
}Semantic roles & 50–950 ramp
primary
#757E31
secondary
#6960AB
accent
#54D463
background
#FAFAF6
surface
#F3F3EC
border
#CDCDC7
text
#0F0F07
muted
#7F7F7A