#7D6F1A#7D6F1A

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

Color values

HEX#7D6F1A
RGBrgb(125, 111, 26)
HSLhsl(52, 66%, 30%)
HSVhsv(52, 79%, 49%)
CMYKcmyk(0%, 11.2%, 79.2%, 51%)
CIE-LABlab(46.72, -4.22, 45.95)
CIE-LCHlch(46.72, 46.14, 95.25°)
OKLaboklab(53.92% -0.0167 0.1005)
OKLCHoklch(53.92% 0.102 99.4)
XYZxyz(14.3291, 15.8041, 3.2728)
Luminance0.1580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6F1A #1A287D
analogous
#7D3E1A #7D6F1A #5A7D1A
triadic
#7D6F1A #1A7D6F #6F1A7D
tetradic
#7D6F1A #1A7D3E #1A287D #7D1A5A
square
#7D6F1A #1A7D3E #1A287D #7D1A5A
split-complementary
#7D6F1A #1A5A7D #3E1A7D
monochromatic
#191605 #4A420F #7D6F1A #B09C25 #D6C03B

Accessibility & contrast

On white

5.05
#7D6F1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D6F1A
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6F1A#FFFFFF#000000##FFFFFF
##7D6F1A1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d6f1a;
/* rgb */ color: rgb(125, 111, 26);
/* oklch */ color: oklch(53.9% 0.102 99.4);
Tailwind
colors: {
  custom: {
    50: '#a6985e',
    500: '#7d6f1a',
    950: '#000000',
  },
}
SCSS
$custom: #7d6f1a;
$custom-light: #a6985e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6f1a",
  "rgb": {
    "r": 125,
    "g": 111,
    "b": 26
  },
  "hsl": {
    "h": 51.515,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53924,
    "c": 0.10186,
    "h": 99.4
  },
  "luminance": 0.15803
}

Semantic roles & 50–950 ramp

primary
#7D6F1A
secondary
#4251B1
accent
#57E93F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7D6F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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