#7D6F2C#7D6F2C

#7D6F2C is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 54.1% C 0.088 H 97.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7D6F2C
RGBrgb(125, 111, 44)
HSLhsl(50, 48%, 33%)
HSVhsv(50, 65%, 49%)
CMYKcmyk(0%, 11.2%, 64.8%, 51%)
CIE-LABlab(46.86, -3.18, 38.29)
CIE-LCHlch(46.86, 38.43, 94.75°)
OKLaboklab(54.08% -0.0116 0.0877)
OKLCHoklch(54.08% 0.088 97.5)
XYZxyz(14.5971, 15.9114, 4.6847)
Luminance0.1591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6F2C #2C3A7D
analogous
#7D462C #7D6F2C #627D2C
triadic
#7D6F2C #2C7D6F #6F2C7D
tetradic
#7D6F2C #2C7D46 #2C3A7D #7D2C62
square
#7D6F2C #2C7D46 #2C3A7D #7D2C62
split-complementary
#7D6F2C #2C627D #462C7D
monochromatic
#221F0C #50471C #7D6F2C #AA973C #C6B45D

Accessibility & contrast

On white

5.02
#7D6F2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7D6F2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6F2C
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6F2C#FFFFFF#000000##FFFFFF
##7D6F2C1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C24
Deuteranopia (green-blind)
#7D712F
Tritanopia (blue-blind)
#876761
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d6f2c;
/* rgb */ color: rgb(125, 111, 44);
/* oklch */ color: oklch(54.1% 0.088 97.5);
Tailwind
colors: {
  custom: {
    50: '#a59868',
    500: '#7d6f2c',
    950: '#000000',
  },
}
SCSS
$custom: #7d6f2c;
$custom-light: #a59868;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6f2c",
  "rgb": {
    "r": 125,
    "g": 111,
    "b": 44
  },
  "hsl": {
    "h": 49.63,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54081,
    "c": 0.08841,
    "h": 97.5
  },
  "luminance": 0.15911
}

Semantic roles & 50–950 ramp

primary
#7D6F2C
secondary
#5967AC
accent
#68D850
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #7D6F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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