#7D7526#7D7526

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

Color values

HEX#7D7526
RGBrgb(125, 117, 38)
HSLhsl(54, 53%, 32%)
HSVhsv(54, 70%, 49%)
CMYKcmyk(0%, 6.4%, 69.6%, 51%)
CIE-LABlab(48.54, -6.98, 42.86)
CIE-LCHlch(48.54, 43.42, 99.24°)
OKLaboklab(55.4% -0.0231 0.0963)
OKLCHoklch(55.4% 0.099 103.5)
XYZxyz(15.1692, 17.2231, 4.3587)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7526 #262E7D
analogous
#7D4A26 #7D7526 #5A7D26
triadic
#7D7526 #267D75 #75267D
tetradic
#7D7526 #267D4A #262E7D #7D265A
square
#7D7526 #267D4A #262E7D #7D265A
split-complementary
#7D7526 #265A7D #4A267D
monochromatic
#1F1D09 #4E4918 #7D7526 #ACA134 #CBC053

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D7526#FFFFFF#000000##FFFFFF
##7D75261.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)
#80711B
Deuteranopia (green-blind)
#82752B
Tritanopia (blue-blind)
#876D65
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7d7526;
/* rgb */ color: rgb(125, 117, 38);
/* oklch */ color: oklch(55.4% 0.099 103.5);
Tailwind
colors: {
  custom: {
    50: '#a59c65',
    500: '#7d7526',
    950: '#000000',
  },
}
SCSS
$custom: #7d7526;
$custom-light: #a59c65;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7526",
  "rgb": {
    "r": 125,
    "g": 117,
    "b": 38
  },
  "hsl": {
    "h": 54.483,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55399,
    "c": 0.09906,
    "h": 103.5
  },
  "luminance": 0.17222
}

Semantic roles & 50–950 ramp

primary
#7D7526
secondary
#5059AF
accent
#58DD4B
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D7526

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

Preview Lab → · Contrast checker → · Palette generator →

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