#7D7528#7D7528

#7D7528 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.4% C 0.097 H 103.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7D7528
RGBrgb(125, 117, 40)
HSLhsl(54, 52%, 32%)
HSVhsv(54, 68%, 49%)
CMYKcmyk(0%, 6.4%, 68%, 51%)
CIE-LABlab(48.56, -6.85, 41.99)
CIE-LCHlch(48.56, 42.54, 99.27°)
OKLaboklab(55.42% -0.0225 0.0948)
OKLCHoklch(55.42% 0.097 103.4)
XYZxyz(15.2023, 17.2363, 4.5332)
Luminance0.1724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7528 #28307D
analogous
#7D4B28 #7D7528 #5B7D28
triadic
#7D7528 #287D75 #75287D
tetradic
#7D7528 #287D4B #28307D #7D285B
square
#7D7528 #287D4B #28307D #7D285B
split-complementary
#7D7528 #285B7D #4B287D
monochromatic
#201E0A #4F4A19 #7D7528 #ABA037 #C9BE56

Accessibility & contrast

On white

4.72
#7D7528 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#7D7528 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7528
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7528#FFFFFF#000000##FFFFFF
##7D75281.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80711E
Deuteranopia (green-blind)
#82752D
Tritanopia (blue-blind)
#866D65
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7d7528;
/* rgb */ color: rgb(125, 117, 40);
/* oklch */ color: oklch(55.4% 0.097 103.4);
Tailwind
colors: {
  custom: {
    50: '#a59c66',
    500: '#7d7528',
    950: '#000000',
  },
}
SCSS
$custom: #7d7528;
$custom-light: #a59c66;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7528",
  "rgb": {
    "r": 125,
    "g": 117,
    "b": 40
  },
  "hsl": {
    "h": 54.353,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55417,
    "c": 0.09746,
    "h": 103.4
  },
  "luminance": 0.17236
}

Semantic roles & 50–950 ramp

primary
#7D7528
secondary
#535BAE
accent
#5ADB4D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D7528

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

Preview Lab → · Contrast checker → · Palette generator →

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