#7D6E17#7D6E17

#7D6E17 is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.7% C 0.103 H 98.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7D6E17
RGBrgb(125, 110, 23)
HSLhsl(51, 69%, 29%)
HSVhsv(51, 82%, 49%)
CMYKcmyk(0%, 12%, 81.6%, 51%)
CIE-LABlab(46.41, -3.77, 46.74)
CIE-LCHlch(46.41, 46.89, 94.62°)
OKLaboklab(53.68% -0.0157 0.1015)
OKLCHoklch(53.68% 0.103 98.8)
XYZxyz(14.1888, 15.5744, 3.0692)
Luminance0.1557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6E17 #17267D
analogous
#7D3B17 #7D6E17 #597D17
triadic
#7D6E17 #177D6E #6E177D
tetradic
#7D6E17 #177D3B #17267D #7D1759
square
#7D6E17 #177D3B #17267D #7D1759
split-complementary
#7D6E17 #17597D #3B177D
monochromatic
#1A1705 #49410D #7D6E17 #B19B21 #DAC135

Accessibility & contrast

On white

5.10
#7D6E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7D6E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6E17
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6E17#FFFFFF#000000##FFFFFF
##7D6E171.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B02
Deuteranopia (green-blind)
#7E701D
Tritanopia (blue-blind)
#87655E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7d6e17;
/* rgb */ color: rgb(125, 110, 23);
/* oklch */ color: oklch(53.7% 0.103 98.8);
Tailwind
colors: {
  custom: {
    50: '#a6975d',
    500: '#7d6e17',
    950: '#000000',
  },
}
SCSS
$custom: #7d6e17;
$custom-light: #a6975d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6e17",
  "rgb": {
    "r": 125,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 51.176,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53676,
    "c": 0.10275,
    "h": 98.8
  },
  "luminance": 0.15574
}

Semantic roles & 50–950 ramp

primary
#7D6E17
secondary
#3E4FB2
accent
#56EC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7D6E17

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

Preview Lab → · Contrast checker → · Palette generator →

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