#7D6D17#7D6D17

#7D6D17 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.4% C 0.102 H 97.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7D6D17
RGBrgb(125, 109, 23)
HSLhsl(51, 69%, 29%)
HSVhsv(51, 82%, 49%)
CMYKcmyk(0%, 12.8%, 81.6%, 51%)
CIE-LABlab(46.12, -3.20, 46.48)
CIE-LCHlch(46.12, 46.59, 93.94°)
OKLaboklab(53.45% -0.0141 0.101)
OKLCHoklch(53.45% 0.102 97.9)
XYZxyz(14.0815, 15.3599, 3.0335)
Luminance0.1536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6D17 #17277D
analogous
#7D3A17 #7D6D17 #5A7D17
triadic
#7D6D17 #177D6D #6D177D
tetradic
#7D6D17 #177D3A #17277D #7D175A
square
#7D6D17 #177D3A #17277D #7D175A
split-complementary
#7D6D17 #175A7D #3A177D
monochromatic
#1A1705 #49400D #7D6D17 #B19A21 #DAC035

Accessibility & contrast

On white

5.16
#7D6D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#7D6D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6D17
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6D17#FFFFFF#000000##FFFFFF
##7D6D171.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A03
Deuteranopia (green-blind)
#7D701D
Tritanopia (blue-blind)
#87645D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7d6d17;
/* rgb */ color: rgb(125, 109, 23);
/* oklch */ color: oklch(53.4% 0.102 97.9);
Tailwind
colors: {
  custom: {
    50: '#a6965c',
    500: '#7d6d17',
    950: '#000000',
  },
}
SCSS
$custom: #7d6d17;
$custom-light: #a6965c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6d17",
  "rgb": {
    "r": 125,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 50.588,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53448,
    "c": 0.10196,
    "h": 97.9
  },
  "luminance": 0.15359
}

Semantic roles & 50–950 ramp

primary
#7D6D17
secondary
#3E50B2
accent
#58EC3C
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7D6D17

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

Preview Lab → · Contrast checker → · Palette generator →

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