#7D7520#7D7520

#7D7520 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.3% C 0.103 H 103.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7D7520
RGBrgb(125, 117, 32)
HSLhsl(55, 59%, 31%)
HSVhsv(55, 74%, 49%)
CMYKcmyk(0%, 6.4%, 74.4%, 51%)
CIE-LABlab(48.50, -7.32, 45.33)
CIE-LCHlch(48.50, 45.92, 99.17°)
OKLaboklab(55.35% -0.0248 0.1004)
OKLCHoklch(55.35% 0.103 103.9)
XYZxyz(15.0801, 17.1874, 3.8894)
Luminance0.1719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7520 #20287D
analogous
#7D4620 #7D7520 #567D20
triadic
#7D7520 #207D75 #75207D
tetradic
#7D7520 #207D46 #20287D #7D2056
square
#7D7520 #207D46 #20287D #7D2056
split-complementary
#7D7520 #20567D #46207D
monochromatic
#1C1A07 #4C4714 #7D7520 #AEA32C #D0C447

Accessibility & contrast

On white

4.73
#7D7520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#7D7520 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7520
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7520#FFFFFF#000000##FFFFFF
##7D75201.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807112
Deuteranopia (green-blind)
#837526
Tritanopia (blue-blind)
#876D64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7d7520;
/* rgb */ color: rgb(125, 117, 32);
/* oklch */ color: oklch(55.3% 0.103 103.9);
Tailwind
colors: {
  custom: {
    50: '#a69c62',
    500: '#7d7520',
    950: '#000000',
  },
}
SCSS
$custom: #7d7520;
$custom-light: #a69c62;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7520",
  "rgb": {
    "r": 125,
    "g": 117,
    "b": 32
  },
  "hsl": {
    "h": 54.839,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55349,
    "c": 0.10342,
    "h": 103.9
  },
  "luminance": 0.17187
}

Semantic roles & 50–950 ramp

primary
#7D7520
secondary
#4952B0
accent
#53E245
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7D7520

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

Preview Lab → · Contrast checker → · Palette generator →

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