#7D6C17#7D6C17

#7D6C17 is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 53.2% C 0.101 H 97.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7D6C17
RGBrgb(125, 108, 23)
HSLhsl(50, 69%, 29%)
HSVhsv(50, 82%, 49%)
CMYKcmyk(0%, 13.6%, 81.6%, 51%)
CIE-LABlab(45.84, -2.63, 46.22)
CIE-LCHlch(45.84, 46.29, 93.26°)
OKLaboklab(53.22% -0.0125 0.1004)
OKLCHoklch(53.22% 0.101 97.1)
XYZxyz(13.9754, 15.1477, 2.9981)
Luminance0.1515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6C17 #17287D
analogous
#7D3917 #7D6C17 #5B7D17
triadic
#7D6C17 #177D6C #6C177D
tetradic
#7D6C17 #177D39 #17287D #7D175B
square
#7D6C17 #177D39 #17287D #7D175B
split-complementary
#7D6C17 #175B7D #39177D
monochromatic
#1A1605 #493F0D #7D6C17 #B19921 #DABE35

Accessibility & contrast

On white

5.21
#7D6C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7D6C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6C17
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6C17#FFFFFF#000000##FFFFFF
##7D6C171.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786903
Deuteranopia (green-blind)
#7C6F1D
Tritanopia (blue-blind)
#88635C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7d6c17;
/* rgb */ color: rgb(125, 108, 23);
/* oklch */ color: oklch(53.2% 0.101 97.1);
Tailwind
colors: {
  custom: {
    50: '#a6955c',
    500: '#7d6c17',
    950: '#000000',
  },
}
SCSS
$custom: #7d6c17;
$custom-light: #a6955c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6c17",
  "rgb": {
    "r": 125,
    "g": 108,
    "b": 23
  },
  "hsl": {
    "h": 50,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53221,
    "c": 0.1012,
    "h": 97.1
  },
  "luminance": 0.15147
}

Semantic roles & 50–950 ramp

primary
#7D6C17
secondary
#3E51B2
accent
#59EC3C
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7D6C17

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

Preview Lab → · Contrast checker → · Palette generator →

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