#787151#787151
#787151 is a mid, muted yellow. Relative luminance 0.164; OKLCH L 54.6% C 0.047 H 97.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #787151 |
|---|---|
| RGB | rgb(120, 113, 81) |
| HSL | hsl(49, 19%, 39%) |
| HSV | hsv(49, 33%, 47%) |
| CMYK | cmyk(0%, 5.8%, 32.5%, 52.9%) |
| CIE-LAB | lab(47.49, -2.66, 18.78) |
| CIE-LCH | lch(47.49, 18.97, 98.05°) |
| OKLab | oklab(54.64% -0.006 0.047) |
| OKLCH | oklch(54.64% 0.047 97.3) |
| XYZ | xyz(15.1362, 16.3978, 10.1507) |
| Luminance | 0.1640 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Grey Brown
#7F7053
ΔE00 4.38
Greyish Brown
#7A6A4F
ΔE00 5.65
Brownish Grey
#86775F
ΔE00 6.50
Brown Grey
#8D8468
ΔE00 7.93
Dull Brown
#876E4B
ΔE00 8.07
Dirt
#8A6E45
ΔE00 8.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787151 #515878
analogous
#785E51 #787151 #6C7851
triadic
#787151 #517871 #715178
tetradic
#787151 #51785E #515878 #78516C
square
#787151 #51785E #515878 #78516C
split-complementary
#787151 #516C78 #5E5178
monochromatic
#2F2C20 #534F38 #787151 #9B936B #B4AD90
Accessibility & contrast
On white
4.91
#787151 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#787151 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #787151
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787151 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##787151 | 1.00 | 4.91 | 4.28 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776F4F
Deuteranopia (green-blind)
#797252
Tritanopia (blue-blind)
#7E6C69
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #787151; /* rgb */ color: rgb(120, 113, 81); /* oklch */ color: oklch(54.6% 0.047 97.3);
Tailwind
colors: {
custom: {
50: '#9f9982',
500: '#787151',
950: '#000000',
},
}SCSS
$custom: #787151; $custom-light: #9f9982; $custom-dark: #000000;
JSON
{
"hex": "#787151",
"rgb": {
"r": 120,
"g": 113,
"b": 81
},
"hsl": {
"h": 49.231,
"s": 19.403,
"l": 39.412
},
"oklch": {
"l": 0.54643,
"c": 0.04742,
"h": 97.3
},
"luminance": 0.16397
}Semantic roles & 50–950 ramp
primary
#787151
secondary
#8489A1
accent
#7ABC6C
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0E0E0A
muted
#7E7E7C