#7D7954#7D7954

#7D7954 is a mid, muted yellow. Relative luminance 0.187; OKLCH L 57.0% C 0.053 H 102.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7D7954
RGBrgb(125, 121, 84)
HSLhsl(54, 20%, 41%)
HSVhsv(54, 33%, 49%)
CMYKcmyk(0%, 3.2%, 32.8%, 51%)
CIE-LABlab(50.30, -4.66, 20.89)
CIE-LCHlch(50.30, 21.40, 102.59°)
OKLaboklab(57% -0.0117 0.0521)
OKLCHoklch(57% 0.053 102.7)
XYZxyz(16.8952, 18.6752, 11.1004)
Luminance0.1867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7954 #54587D
analogous
#7D6454 #7D7954 #6C7D54
triadic
#7D7954 #547D79 #79547D
tetradic
#7D7954 #547D64 #54587D #7D546C
square
#7D7954 #547D64 #54587D #7D546C
split-complementary
#7D7954 #546C7D #64547D
monochromatic
#343223 #58563B #7D7954 #9F9A70 #B7B494

Accessibility & contrast

On white

4.44
#7D7954 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#7D7954 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7954
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7954#FFFFFF#000000##000000
##7D79541.004.444.744.74
#FFFFFF4.441.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#807651
Deuteranopia (green-blind)
#817955
Tritanopia (blue-blind)
#83746F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d7954;
/* rgb */ color: rgb(125, 121, 84);
/* oklch */ color: oklch(57.0% 0.053 102.7);
Tailwind
colors: {
  custom: {
    50: '#a39f84',
    500: '#7d7954',
    950: '#000000',
  },
}
SCSS
$custom: #7d7954;
$custom-light: #a39f84;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7954",
  "rgb": {
    "r": 125,
    "g": 121,
    "b": 84
  },
  "hsl": {
    "h": 54.146,
    "s": 19.617,
    "l": 40.98
  },
  "oklch": {
    "l": 0.56996,
    "c": 0.0534,
    "h": 102.7
  },
  "luminance": 0.18675
}

Semantic roles & 50–950 ramp

primary
#7D7954
secondary
#888BA5
accent
#73BC6C
background
#FAF9F8
surface
#F4F2EF
border
#CECCCA
text
#0F0E0B
muted
#7F7E7C

Preview Lab

Preview with #7D7954

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

Preview Lab → · Contrast checker → · Palette generator →

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