#7D6A17#7D6A17

#7D6A17 is a mid, moderate yellow. Relative luminance 0.147; OKLCH L 52.8% C 0.100 H 95.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7D6A17
RGBrgb(125, 106, 23)
HSLhsl(49, 69%, 29%)
HSVhsv(49, 82%, 49%)
CMYKcmyk(0%, 15.2%, 81.6%, 51%)
CIE-LABlab(45.26, -1.48, 45.70)
CIE-LCHlch(45.26, 45.73, 91.86°)
OKLaboklab(52.77% -0.0092 0.0993)
OKLCHoklch(52.77% 0.1 95.3)
XYZxyz(13.7669, 14.7307, 2.9286)
Luminance0.1473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6A17 #172A7D
analogous
#7D3717 #7D6A17 #5D7D17
triadic
#7D6A17 #177D6A #6A177D
tetradic
#7D6A17 #177D37 #172A7D #7D175D
square
#7D6A17 #177D37 #172A7D #7D175D
split-complementary
#7D6A17 #175D7D #37177D
monochromatic
#1A1605 #493E0D #7D6A17 #B19621 #DABB35

Accessibility & contrast

On white

5.32
#7D6A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7D6A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6A17
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6A17#FFFFFF#000000##FFFFFF
##7D6A171.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766804
Deuteranopia (green-blind)
#7B6E1D
Tritanopia (blue-blind)
#88615A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7d6a17;
/* rgb */ color: rgb(125, 106, 23);
/* oklch */ color: oklch(52.8% 0.100 95.3);
Tailwind
colors: {
  custom: {
    50: '#a6945c',
    500: '#7d6a17',
    950: '#000000',
  },
}
SCSS
$custom: #7d6a17;
$custom-light: #a6945c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6a17",
  "rgb": {
    "r": 125,
    "g": 106,
    "b": 23
  },
  "hsl": {
    "h": 48.824,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52767,
    "c": 0.09975,
    "h": 95.3
  },
  "luminance": 0.1473
}

Semantic roles & 50–950 ramp

primary
#7D6A17
secondary
#3E54B2
accent
#5DEC3C
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7D6A17

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

Preview Lab → · Contrast checker → · Palette generator →

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