#7D6D1A#7D6D1A

#7D6D1A is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.5% C 0.100 H 97.7°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7D6D1A
RGBrgb(125, 109, 26)
HSLhsl(50, 66%, 30%)
HSVhsv(50, 79%, 49%)
CMYKcmyk(0%, 12.8%, 79.2%, 51%)
CIE-LABlab(46.14, -3.08, 45.41)
CIE-LCHlch(46.14, 45.52, 93.88°)
OKLaboklab(53.47% -0.0134 0.0993)
OKLCHoklch(53.47% 0.1 97.7)
XYZxyz(14.1133, 15.3726, 3.2009)
Luminance0.1537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6D1A #1A2A7D
analogous
#7D3C1A #7D6D1A #5C7D1A
triadic
#7D6D1A #1A7D6D #6D1A7D
tetradic
#7D6D1A #1A7D3C #1A2A7D #7D1A5C
square
#7D6D1A #1A7D3C #1A2A7D #7D1A5C
split-complementary
#7D6D1A #1A5C7D #3C1A7D
monochromatic
#191605 #4A410F #7D6D1A #B09925 #D6BD3B

Accessibility & contrast

On white

5.15
#7D6D1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#7D6D1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6D1A
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6D1A#FFFFFF#000000##FFFFFF
##7D6D1A1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A09
Deuteranopia (green-blind)
#7D7020
Tritanopia (blue-blind)
#87645D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7d6d1a;
/* rgb */ color: rgb(125, 109, 26);
/* oklch */ color: oklch(53.5% 0.100 97.7);
Tailwind
colors: {
  custom: {
    50: '#a6965e',
    500: '#7d6d1a',
    950: '#000000',
  },
}
SCSS
$custom: #7d6d1a;
$custom-light: #a6965e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6d1a",
  "rgb": {
    "r": 125,
    "g": 109,
    "b": 26
  },
  "hsl": {
    "h": 50.303,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53467,
    "c": 0.10025,
    "h": 97.7
  },
  "luminance": 0.15372
}

Semantic roles & 50–950 ramp

primary
#7D6D1A
secondary
#4254B1
accent
#5BE93F
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7D6D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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