#7D7522#7D7522

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

Color values

HEX#7D7522
RGBrgb(125, 117, 34)
HSLhsl(55, 57%, 31%)
HSVhsv(55, 73%, 49%)
CMYKcmyk(0%, 6.4%, 72.8%, 51%)
CIE-LABlab(48.51, -7.21, 44.53)
CIE-LCHlch(48.51, 45.11, 99.20°)
OKLaboklab(55.36% -0.0242 0.0991)
OKLCHoklch(55.36% 0.102 103.7)
XYZxyz(15.1081, 17.1987, 4.0369)
Luminance0.1720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7522 #222A7D
analogous
#7D4722 #7D7522 #577D22
triadic
#7D7522 #227D75 #75227D
tetradic
#7D7522 #227D47 #222A7D #7D2257
square
#7D7522 #227D47 #222A7D #7D2257
split-complementary
#7D7522 #22577D #47227D
monochromatic
#1D1B08 #4D4815 #7D7522 #ADA22F #CEC34B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D7522#FFFFFF#000000##FFFFFF
##7D75221.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)
#807115
Deuteranopia (green-blind)
#827527
Tritanopia (blue-blind)
#876D65
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7d7522;
/* rgb */ color: rgb(125, 117, 34);
/* oklch */ color: oklch(55.4% 0.102 103.7);
Tailwind
colors: {
  custom: {
    50: '#a69c63',
    500: '#7d7522',
    950: '#000000',
  },
}
SCSS
$custom: #7d7522;
$custom-light: #a69c63;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7522",
  "rgb": {
    "r": 125,
    "g": 117,
    "b": 34
  },
  "hsl": {
    "h": 54.725,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55365,
    "c": 0.10203,
    "h": 103.7
  },
  "luminance": 0.17198
}

Semantic roles & 50–950 ramp

primary
#7D7522
secondary
#4B54B0
accent
#55E047
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7D7522

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

Preview Lab → · Contrast checker → · Palette generator →

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