#7D6B17#7D6B17

#7D6B17 is a mid, moderate yellow. Relative luminance 0.149; OKLCH L 53.0% C 0.100 H 96.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7D6B17
RGBrgb(125, 107, 23)
HSLhsl(49, 69%, 29%)
HSVhsv(49, 82%, 49%)
CMYKcmyk(0%, 14.4%, 81.6%, 51%)
CIE-LABlab(45.55, -2.06, 45.96)
CIE-LCHlch(45.55, 46.01, 92.56°)
OKLaboklab(52.99% -0.0109 0.0999)
OKLCHoklch(52.99% 0.1 96.2)
XYZxyz(13.8705, 14.9380, 2.9632)
Luminance0.1494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6B17 #17297D
analogous
#7D3817 #7D6B17 #5C7D17
triadic
#7D6B17 #177D6B #6B177D
tetradic
#7D6B17 #177D38 #17297D #7D175C
square
#7D6B17 #177D38 #17297D #7D175C
split-complementary
#7D6B17 #175C7D #38177D
monochromatic
#1A1605 #493F0D #7D6B17 #B19721 #DABD35

Accessibility & contrast

On white

5.27
#7D6B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7D6B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6B17
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6B17#FFFFFF#000000##FFFFFF
##7D6B171.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776904
Deuteranopia (green-blind)
#7C6E1D
Tritanopia (blue-blind)
#88625B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d6b17;
/* rgb */ color: rgb(125, 107, 23);
/* oklch */ color: oklch(53.0% 0.100 96.2);
Tailwind
colors: {
  custom: {
    50: '#a6955c',
    500: '#7d6b17',
    950: '#000000',
  },
}
SCSS
$custom: #7d6b17;
$custom-light: #a6955c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6b17",
  "rgb": {
    "r": 125,
    "g": 107,
    "b": 23
  },
  "hsl": {
    "h": 49.412,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52994,
    "c": 0.10046,
    "h": 96.2
  },
  "luminance": 0.14937
}

Semantic roles & 50–950 ramp

primary
#7D6B17
secondary
#3E52B2
accent
#5BEC3C
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7D6B17

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

Preview Lab → · Contrast checker → · Palette generator →

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