#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
RGBrgb(123, 121, 81)
HSLhsl(57, 21%, 40%)
HSVhsv(57, 34%, 48%)
CMYKcmyk(0%, 1.6%, 34.1%, 51.8%)
CIE-LABlab(50.07, -5.93, 22.26)
CIE-LCHlch(50.07, 23.03, 104.91°)
OKLaboklab(56.75% -0.0155 0.0552)
OKLCHoklch(56.75% 0.057 105.6)
XYZxyz(16.4911, 18.4801, 10.4813)
Luminance0.1848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

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
##7B79511.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.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

Preview Lab

Preview with #7B7951

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7B7951 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva