#7D7527#7D7527

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

Color values

HEX#7D7527
RGBrgb(125, 117, 39)
HSLhsl(54, 52%, 32%)
HSVhsv(54, 69%, 49%)
CMYKcmyk(0%, 6.4%, 68.8%, 51%)
CIE-LABlab(48.55, -6.91, 42.43)
CIE-LCHlch(48.55, 42.98, 99.25°)
OKLaboklab(55.41% -0.0228 0.0956)
OKLCHoklch(55.41% 0.098 103.4)
XYZxyz(15.1856, 17.2296, 4.4448)
Luminance0.1723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7527 #272F7D
analogous
#7D4A27 #7D7527 #5A7D27
triadic
#7D7527 #277D75 #75277D
tetradic
#7D7527 #277D4A #272F7D #7D275A
square
#7D7527 #277D4A #272F7D #7D275A
split-complementary
#7D7527 #275A7D #4A277D
monochromatic
#201E0A #4E4918 #7D7527 #ACA136 #CABF55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7d7527;
/* rgb */ color: rgb(125, 117, 39);
/* oklch */ color: oklch(55.4% 0.098 103.4);
Tailwind
colors: {
  custom: {
    50: '#a59c66',
    500: '#7d7527',
    950: '#000000',
  },
}
SCSS
$custom: #7d7527;
$custom-light: #a59c66;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7527",
  "rgb": {
    "r": 125,
    "g": 117,
    "b": 39
  },
  "hsl": {
    "h": 54.419,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55408,
    "c": 0.09827,
    "h": 103.4
  },
  "luminance": 0.17229
}

Semantic roles & 50–950 ramp

primary
#7D7527
secondary
#515AAF
accent
#59DC4C
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D7527

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

Preview Lab → · Contrast checker → · Palette generator →

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