#7D7529#7D7529

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

Color values

HEX#7D7529
RGBrgb(125, 117, 41)
HSLhsl(54, 51%, 33%)
HSVhsv(54, 67%, 49%)
CMYKcmyk(0%, 6.4%, 67.2%, 51%)
CIE-LABlab(48.56, -6.78, 41.54)
CIE-LCHlch(48.56, 42.09, 99.27°)
OKLaboklab(55.43% -0.0222 0.0941)
OKLCHoklch(55.43% 0.097 103.3)
XYZxyz(15.2196, 17.2432, 4.6240)
Luminance0.1724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7529 #29317D
analogous
#7D4B29 #7D7529 #5B7D29
triadic
#7D7529 #297D75 #75297D
tetradic
#7D7529 #297D4B #29317D #7D295B
square
#7D7529 #297D4B #29317D #7D295B
split-complementary
#7D7529 #295B7D #4B297D
monochromatic
#211F0B #4F4A1A #7D7529 #ABA038 #C8BE58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D7529#FFFFFF#000000##FFFFFF
##7D75291.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)
#7F711F
Deuteranopia (green-blind)
#82752D
Tritanopia (blue-blind)
#866D65
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7d7529;
/* rgb */ color: rgb(125, 117, 41);
/* oklch */ color: oklch(55.4% 0.097 103.3);
Tailwind
colors: {
  custom: {
    50: '#a59c67',
    500: '#7d7529',
    950: '#000000',
  },
}
SCSS
$custom: #7d7529;
$custom-light: #a59c67;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7529",
  "rgb": {
    "r": 125,
    "g": 117,
    "b": 41
  },
  "hsl": {
    "h": 54.286,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55427,
    "c": 0.09664,
    "h": 103.3
  },
  "luminance": 0.17243
}

Semantic roles & 50–950 ramp

primary
#7D7529
secondary
#545DAE
accent
#5BDA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D7529

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

Preview Lab → · Contrast checker → · Palette generator →

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