#7D6E1A#7D6E1A

#7D6E1A is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.7% C 0.101 H 98.6°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7D6E1A
RGBrgb(125, 110, 26)
HSLhsl(51, 66%, 30%)
HSVhsv(51, 79%, 49%)
CMYKcmyk(0%, 12%, 79.2%, 51%)
CIE-LABlab(46.43, -3.65, 45.68)
CIE-LCHlch(46.43, 45.82, 94.57°)
OKLaboklab(53.7% -0.0151 0.0999)
OKLCHoklch(53.7% 0.101 98.6)
XYZxyz(14.2206, 15.5871, 3.2367)
Luminance0.1559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6E1A #1A297D
analogous
#7D3D1A #7D6E1A #5B7D1A
triadic
#7D6E1A #1A7D6E #6E1A7D
tetradic
#7D6E1A #1A7D3D #1A297D #7D1A5B
square
#7D6E1A #1A7D3D #1A297D #7D1A5B
split-complementary
#7D6E1A #1A5B7D #3D1A7D
monochromatic
#191605 #4A410F #7D6E1A #B09B25 #D6BF3B

Accessibility & contrast

On white

5.10
#7D6E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#7D6E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6E1A
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6E1A#FFFFFF#000000##FFFFFF
##7D6E1A1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B08
Deuteranopia (green-blind)
#7E7020
Tritanopia (blue-blind)
#87655E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7d6e1a;
/* rgb */ color: rgb(125, 110, 26);
/* oklch */ color: oklch(53.7% 0.101 98.6);
Tailwind
colors: {
  custom: {
    50: '#a6975e',
    500: '#7d6e1a',
    950: '#000000',
  },
}
SCSS
$custom: #7d6e1a;
$custom-light: #a6975e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6e1a",
  "rgb": {
    "r": 125,
    "g": 110,
    "b": 26
  },
  "hsl": {
    "h": 50.909,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53695,
    "c": 0.10105,
    "h": 98.6
  },
  "luminance": 0.15586
}

Semantic roles & 50–950 ramp

primary
#7D6E1A
secondary
#4253B1
accent
#59E93F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7D6E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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