#7B7951#7B7951
#7B7951 is a mid, muted yellow. Relative luminance 0.185; OKLCH L 56.8% C 0.057 H 105.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7B7951 |
|---|---|
| RGB | rgb(123, 121, 81) |
| HSL | hsl(57, 21%, 40%) |
| HSV | hsv(57, 34%, 48%) |
| CMYK | cmyk(0%, 1.6%, 34.1%, 51.8%) |
| CIE-LAB | lab(50.07, -5.93, 22.26) |
| CIE-LCH | lch(50.07, 23.03, 104.91°) |
| OKLab | oklab(56.75% -0.0155 0.0552) |
| OKLCH | oklch(56.75% 0.057 105.6) |
| XYZ | xyz(16.4911, 18.4801, 10.4813) |
| Luminance | 0.1848 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 6.24
Olive Drab
#6F7632
ΔE00 7.12
Brown Grey
#8D8468
ΔE00 7.28
Grey Brown
#7F7053
ΔE00 7.76
Muddy Green
#657432
ΔE00 8.41
Military Green
#667C3E
ΔE00 8.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B7951 #51537B
analogous
#7B6451 #7B7951 #687B51
triadic
#7B7951 #517B79 #79517B
tetradic
#7B7951 #517B64 #51537B #7B5168
square
#7B7951 #517B64 #51537B #7B5168
split-complementary
#7B7951 #51687B #64517B
monochromatic
#313020 #565539 #7B7951 #9E9B6B #B6B490
Accessibility & contrast
On white
4.47
#7B7951 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#7B7951 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B7951
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B7951 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B7951 | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80764E
Deuteranopia (green-blind)
#817853
Tritanopia (blue-blind)
#81746F
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7b7951; /* rgb */ color: rgb(123, 121, 81); /* oklch */ color: oklch(56.8% 0.057 105.6);
Tailwind
colors: {
custom: {
50: '#a29f82',
500: '#7b7951',
950: '#000000',
},
}SCSS
$custom: #7b7951; $custom-light: #a29f82; $custom-dark: #000000;
JSON
{
"hex": "#7b7951",
"rgb": {
"r": 123,
"g": 121,
"b": 81
},
"hsl": {
"h": 57.143,
"s": 20.588,
"l": 40
},
"oklch": {
"l": 0.56752,
"c": 0.05736,
"h": 105.6
},
"luminance": 0.1848
}Semantic roles & 50–950 ramp
primary
#7B7951
secondary
#8486A3
accent
#6FBD6B
background
#FAF9F7
surface
#F3F2EE
border
#CDCCC9
text
#0F0E0A
muted
#7F7E7C