#7D7251#7D7251
#7D7251 is a mid, muted yellow. Relative luminance 0.170; OKLCH L 55.4% C 0.050 H 91.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7D7251 |
|---|---|
| RGB | rgb(125, 114, 81) |
| HSL | hsl(45, 21%, 40%) |
| HSV | hsv(45, 35%, 49%) |
| CMYK | cmyk(0%, 8.8%, 35.2%, 51%) |
| CIE-LAB | lab(48.25, -1.08, 19.87) |
| CIE-LCH | lch(48.25, 19.90, 93.10°) |
| OKLab | oklab(55.35% -0.0016 0.0496) |
| OKLCH | oklch(55.35% 0.05 91.8) |
| XYZ | xyz(15.9602, 16.9892, 10.2215) |
| Luminance | 0.1699 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Grey Brown
#7F7053
ΔE00 2.73
Greyish Brown
#7A6A4F
ΔE00 4.53
Brownish Grey
#86775F
ΔE00 5.01
Dull Brown
#876E4B
ΔE00 6.19
Dirt
#8A6E45
ΔE00 6.95
Brown Grey
#8D8468
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D7251 #515C7D
analogous
#7D5C51 #7D7251 #727D51
triadic
#7D7251 #517D72 #72517D
tetradic
#7D7251 #517D5C #515C7D #7D5172
square
#7D7251 #517D5C #515C7D #7D5172
split-complementary
#7D7251 #51727D #5C517D
monochromatic
#332E21 #585039 #7D7251 #A0936C #B8AE91
Accessibility & contrast
On white
4.78
#7D7251 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#7D7251 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D7251
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D7251 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D7251 | 1.00 | 4.78 | 4.40 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#79714F
Deuteranopia (green-blind)
#7C7452
Tritanopia (blue-blind)
#846D69
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7d7251; /* rgb */ color: rgb(125, 114, 81); /* oklch */ color: oklch(55.4% 0.050 91.8);
Tailwind
colors: {
custom: {
50: '#a39a82',
500: '#7d7251',
950: '#000000',
},
}SCSS
$custom: #7d7251; $custom-light: #a39a82; $custom-dark: #000000;
JSON
{
"hex": "#7d7251",
"rgb": {
"r": 125,
"g": 114,
"b": 81
},
"hsl": {
"h": 45,
"s": 21.359,
"l": 40.392
},
"oklch": {
"l": 0.55351,
"c": 0.04962,
"h": 91.8
},
"luminance": 0.16989
}Semantic roles & 50–950 ramp
primary
#7D7251
secondary
#858DA5
accent
#7FBE6A
background
#FAF9F7
surface
#F4F2EE
border
#CECCC9
text
#0F0E0A
muted
#7F7E7C