#7A6B1A#7A6B1A

#7A6B1A is a mid, moderate yellow. Relative luminance 0.147; OKLCH L 52.7% C 0.099 H 98.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7A6B1A
RGBrgb(122, 107, 26)
HSLhsl(51, 65%, 29%)
HSVhsv(51, 79%, 48%)
CMYKcmyk(0%, 12.3%, 78.7%, 52.2%)
CIE-LABlab(45.26, -3.36, 44.48)
CIE-LCHlch(45.26, 44.61, 94.32°)
OKLaboklab(52.7% -0.0141 0.0975)
OKLCHoklch(52.7% 0.099 98.2)
XYZxyz(13.4709, 14.7282, 3.1104)
Luminance0.1473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6B1A #1A297A
analogous
#7A3B1A #7A6B1A #597A1A
triadic
#7A6B1A #1A7A6B #6B1A7A
tetradic
#7A6B1A #1A7A3B #1A297A #7A1A59
square
#7A6B1A #1A7A3B #1A297A #7A1A59
split-complementary
#7A6B1A #1A597A #3B1A7A
monochromatic
#191605 #483F0F #7A6B1A #AC9725 #D5BD39

Accessibility & contrast

On white

5.32
#7A6B1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7A6B1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6B1A
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6B1A#FFFFFF#000000##FFFFFF
##7A6B1A1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76680A
Deuteranopia (green-blind)
#7A6D1F
Tritanopia (blue-blind)
#84625B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7a6b1a;
/* rgb */ color: rgb(122, 107, 26);
/* oklch */ color: oklch(52.7% 0.099 98.2);
Tailwind
colors: {
  custom: {
    50: '#a4955d',
    500: '#7a6b1a',
    950: '#000000',
  },
}
SCSS
$custom: #7a6b1a;
$custom-light: #a4955d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6b1a",
  "rgb": {
    "r": 122,
    "g": 107,
    "b": 26
  },
  "hsl": {
    "h": 50.625,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52698,
    "c": 0.09852,
    "h": 98.2
  },
  "luminance": 0.14728
}

Semantic roles & 50–950 ramp

primary
#7A6B1A
secondary
#4152AE
accent
#5AE840
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7A6B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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