#7D7523#7D7523

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

Color values

HEX#7D7523
RGBrgb(125, 117, 35)
HSLhsl(55, 56%, 31%)
HSVhsv(55, 72%, 49%)
CMYKcmyk(0%, 6.4%, 72%, 51%)
CIE-LABlab(48.52, -7.15, 44.12)
CIE-LCHlch(48.52, 44.70, 99.21°)
OKLaboklab(55.37% -0.024 0.0984)
OKLCHoklch(55.37% 0.101 103.7)
XYZxyz(15.1227, 17.2045, 4.1140)
Luminance0.1720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7523 #232B7D
analogous
#7D4823 #7D7523 #587D23
triadic
#7D7523 #237D75 #75237D
tetradic
#7D7523 #237D48 #232B7D #7D2358
square
#7D7523 #237D48 #232B7D #7D2358
split-complementary
#7D7523 #23587D #48237D
monochromatic
#1D1B08 #4D4816 #7D7523 #ADA230 #CDC24D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D7523#FFFFFF#000000##FFFFFF
##7D75231.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)
#807117
Deuteranopia (green-blind)
#827528
Tritanopia (blue-blind)
#876D65
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7d7523;
/* rgb */ color: rgb(125, 117, 35);
/* oklch */ color: oklch(55.4% 0.101 103.7);
Tailwind
colors: {
  custom: {
    50: '#a69c63',
    500: '#7d7523',
    950: '#000000',
  },
}
SCSS
$custom: #7d7523;
$custom-light: #a69c63;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7523",
  "rgb": {
    "r": 125,
    "g": 117,
    "b": 35
  },
  "hsl": {
    "h": 54.667,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55373,
    "c": 0.10132,
    "h": 103.7
  },
  "luminance": 0.17204
}

Semantic roles & 50–950 ramp

primary
#7D7523
secondary
#4C55AF
accent
#56E048
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D7523

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

Preview Lab → · Contrast checker → · Palette generator →

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