#7D6717#7D6717

#7D6717 is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 52.1% C 0.098 H 92.5°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7D6717
RGBrgb(125, 103, 23)
HSLhsl(47, 69%, 29%)
HSVhsv(47, 82%, 49%)
CMYKcmyk(0%, 17.6%, 81.6%, 51%)
CIE-LABlab(44.41, 0.25, 44.93)
CIE-LCHlch(44.41, 44.93, 89.68°)
OKLaboklab(52.09% -0.0043 0.0977)
OKLCHoklch(52.09% 0.098 92.5)
XYZxyz(13.4631, 14.1232, 2.8274)
Luminance0.1412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6717 #172D7D
analogous
#7D3417 #7D6717 #607D17
triadic
#7D6717 #177D67 #67177D
tetradic
#7D6717 #177D34 #172D7D #7D1760
square
#7D6717 #177D34 #172D7D #7D1760
split-complementary
#7D6717 #17607D #34177D
monochromatic
#1A1505 #493C0D #7D6717 #B19221 #DAB635

Accessibility & contrast

On white

5.49
#7D6717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#7D6717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6717
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6717#FFFFFF#000000##FFFFFF
##7D67171.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736506
Deuteranopia (green-blind)
#796C1C
Tritanopia (blue-blind)
#885E58
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7d6717;
/* rgb */ color: rgb(125, 103, 23);
/* oklch */ color: oklch(52.1% 0.098 92.5);
Tailwind
colors: {
  custom: {
    50: '#a6925c',
    500: '#7d6717',
    950: '#000000',
  },
}
SCSS
$custom: #7d6717;
$custom-light: #a6925c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6717",
  "rgb": {
    "r": 125,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 47.059,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52092,
    "c": 0.09775,
    "h": 92.5
  },
  "luminance": 0.14122
}

Semantic roles & 50–950 ramp

primary
#7D6717
secondary
#3E57B2
accent
#62EC3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7D6717

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

Preview Lab → · Contrast checker → · Palette generator →

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