#7D6F1D#7D6F1D

#7D6F1D is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 53.9% C 0.100 H 99.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7D6F1D
RGBrgb(125, 111, 29)
HSLhsl(51, 62%, 30%)
HSVhsv(51, 77%, 49%)
CMYKcmyk(0%, 11.2%, 76.8%, 51%)
CIE-LABlab(46.74, -4.08, 44.82)
CIE-LCHlch(46.74, 45.01, 95.20°)
OKLaboklab(53.95% -0.016 0.0987)
OKLCHoklch(53.95% 0.1 99.2)
XYZxyz(14.3644, 15.8183, 3.4588)
Luminance0.1582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6F1D #1D2B7D
analogous
#7D3F1D #7D6F1D #5B7D1D
triadic
#7D6F1D #1D7D6F #6F1D7D
tetradic
#7D6F1D #1D7D3F #1D2B7D #7D1D5B
square
#7D6F1D #1D7D3F #1D2B7D #7D1D5B
split-complementary
#7D6F1D #1D5B7D #3F1D7D
monochromatic
#1A1706 #4B4311 #7D6F1D #AF9B29 #D3BE41

Accessibility & contrast

On white

5.04
#7D6F1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7D6F1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6F1D
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6F1D#FFFFFF#000000##FFFFFF
##7D6F1D1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C0E
Deuteranopia (green-blind)
#7E7122
Tritanopia (blue-blind)
#87665F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d6f1d;
/* rgb */ color: rgb(125, 111, 29);
/* oklch */ color: oklch(53.9% 0.100 99.2);
Tailwind
colors: {
  custom: {
    50: '#a69860',
    500: '#7d6f1d',
    950: '#000000',
  },
}
SCSS
$custom: #7d6f1d;
$custom-light: #a69860;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6f1d",
  "rgb": {
    "r": 125,
    "g": 111,
    "b": 29
  },
  "hsl": {
    "h": 51.25,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53945,
    "c": 0.10001,
    "h": 99.2
  },
  "luminance": 0.15818
}

Semantic roles & 50–950 ramp

primary
#7D6F1D
secondary
#4555B1
accent
#5AE542
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7D6F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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