#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
RGBrgb(125, 114, 81)
HSLhsl(45, 21%, 40%)
HSVhsv(45, 35%, 49%)
CMYKcmyk(0%, 8.8%, 35.2%, 51%)
CIE-LABlab(48.25, -1.08, 19.87)
CIE-LCHlch(48.25, 19.90, 93.10°)
OKLaboklab(55.35% -0.0016 0.0496)
OKLCHoklch(55.35% 0.05 91.8)
XYZxyz(15.9602, 16.9892, 10.2215)
Luminance0.1699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

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
##7D72511.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.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

Preview Lab

Preview with #7D7251

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

Preview Lab → · Contrast checker → · Palette generator →

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