#7D7517#7D7517

#7D7517 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.3% C 0.109 H 104.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7D7517
RGBrgb(125, 117, 23)
HSLhsl(55, 69%, 29%)
HSVhsv(55, 82%, 49%)
CMYKcmyk(0%, 6.4%, 81.6%, 51%)
CIE-LABlab(48.44, -7.72, 48.56)
CIE-LCHlch(48.44, 49.17, 99.04°)
OKLaboklab(55.29% -0.0268 0.1055)
OKLCHoklch(55.29% 0.109 104.3)
XYZxyz(14.9741, 17.1450, 3.3310)
Luminance0.1714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7517 #171F7D
analogous
#7D4217 #7D7517 #527D17
triadic
#7D7517 #177D75 #75177D
tetradic
#7D7517 #177D42 #171F7D #7D1752
square
#7D7517 #177D42 #171F7D #7D1752
split-complementary
#7D7517 #17527D #42177D
monochromatic
#1A1805 #49450D #7D7517 #B1A521 #DACD35

Accessibility & contrast

On white

4.74
#7D7517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7D7517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7517
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7517#FFFFFF#000000##FFFFFF
##7D75171.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#83751F
Tritanopia (blue-blind)
#876C64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7d7517;
/* rgb */ color: rgb(125, 117, 23);
/* oklch */ color: oklch(55.3% 0.109 104.3);
Tailwind
colors: {
  custom: {
    50: '#a69c5d',
    500: '#7d7517',
    950: '#000000',
  },
}
SCSS
$custom: #7d7517;
$custom-light: #a69c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7517",
  "rgb": {
    "r": 125,
    "g": 117,
    "b": 23
  },
  "hsl": {
    "h": 55.294,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5529,
    "c": 0.10881,
    "h": 104.3
  },
  "luminance": 0.17144
}

Semantic roles & 50–950 ramp

primary
#7D7517
secondary
#3E47B2
accent
#4AEC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7517

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

Preview Lab → · Contrast checker → · Palette generator →

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