#7D7717#7D7717

#7D7717 is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.8% C 0.111 H 105.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7D7717
RGBrgb(125, 119, 23)
HSLhsl(56, 69%, 29%)
HSVhsv(56, 82%, 49%)
CMYKcmyk(0%, 4.8%, 81.6%, 51%)
CIE-LABlab(49.03, -8.84, 49.08)
CIE-LCHlch(49.03, 49.87, 100.21°)
OKLaboklab(55.76% -0.0299 0.1066)
OKLCHoklch(55.76% 0.111 105.7)
XYZxyz(15.2096, 17.6161, 3.4095)
Luminance0.1762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7717 #171D7D
analogous
#7D4417 #7D7717 #507D17
triadic
#7D7717 #177D77 #77177D
tetradic
#7D7717 #177D44 #171D7D #7D1750
square
#7D7717 #177D44 #171D7D #7D1750
split-complementary
#7D7717 #17507D #44177D
monochromatic
#1A1905 #49460D #7D7717 #B1A821 #DAD035

Accessibility & contrast

On white

4.64
#7D7717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#7D7717 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7717
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7717#FFFFFF#000000##FFFFFF
##7D77171.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#84761F
Tritanopia (blue-blind)
#876E65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d7717;
/* rgb */ color: rgb(125, 119, 23);
/* oklch */ color: oklch(55.8% 0.111 105.7);
Tailwind
colors: {
  custom: {
    50: '#a69d5e',
    500: '#7d7717',
    950: '#000000',
  },
}
SCSS
$custom: #7d7717;
$custom-light: #a69d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7717",
  "rgb": {
    "r": 125,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 56.471,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55756,
    "c": 0.11068,
    "h": 105.7
  },
  "luminance": 0.17615
}

Semantic roles & 50–950 ramp

primary
#7D7717
secondary
#3E45B2
accent
#46EC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7717

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

Preview Lab → · Contrast checker → · Palette generator →

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