#7D6B1D#7D6B1D

#7D6B1D is a mid, moderate yellow. Relative luminance 0.150; OKLCH L 53.0% C 0.097 H 95.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7D6B1D
RGBrgb(125, 107, 29)
HSLhsl(49, 62%, 30%)
HSVhsv(49, 77%, 49%)
CMYKcmyk(0%, 14.4%, 76.8%, 51%)
CIE-LABlab(45.59, -1.79, 43.72)
CIE-LCHlch(45.59, 43.76, 92.35°)
OKLaboklab(53.03% -0.0095 0.0964)
OKLCHoklch(53.03% 0.097 95.6)
XYZxyz(13.9376, 14.9648, 3.3165)
Luminance0.1496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6B1D #1D2F7D
analogous
#7D3B1D #7D6B1D #5F7D1D
triadic
#7D6B1D #1D7D6B #6B1D7D
tetradic
#7D6B1D #1D7D3B #1D2F7D #7D1D5F
square
#7D6B1D #1D7D3B #1D2F7D #7D1D5F
split-complementary
#7D6B1D #1D5F7D #3B1D7D
monochromatic
#1A1606 #4B4011 #7D6B1D #AF9629 #D3B841

Accessibility & contrast

On white

5.26
#7D6B1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D6B1D
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6B1D#FFFFFF#000000##FFFFFF
##7D6B1D1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776910
Deuteranopia (green-blind)
#7B6E22
Tritanopia (blue-blind)
#87625C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d6b1d;
/* rgb */ color: rgb(125, 107, 29);
/* oklch */ color: oklch(53.0% 0.097 95.6);
Tailwind
colors: {
  custom: {
    50: '#a6955f',
    500: '#7d6b1d',
    950: '#000000',
  },
}
SCSS
$custom: #7d6b1d;
$custom-light: #a6955f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6b1d",
  "rgb": {
    "r": 125,
    "g": 107,
    "b": 29
  },
  "hsl": {
    "h": 48.75,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53034,
    "c": 0.09685,
    "h": 95.6
  },
  "luminance": 0.14964
}

Semantic roles & 50–950 ramp

primary
#7D6B1D
secondary
#4559B1
accent
#61E542
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7D6B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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