#7A6A1B#7A6A1B

#7A6A1B is a mid, moderate yellow. Relative luminance 0.145; OKLCH L 52.5% C 0.097 H 97.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7A6A1B
RGBrgb(122, 106, 27)
HSLhsl(50, 64%, 29%)
HSVhsv(50, 78%, 48%)
CMYKcmyk(0%, 13.1%, 77.9%, 52.2%)
CIE-LABlab(44.98, -2.74, 43.83)
CIE-LCHlch(44.98, 43.91, 93.58°)
OKLaboklab(52.48% -0.0122 0.0963)
OKLCHoklch(52.48% 0.097 97.2)
XYZxyz(13.3786, 14.5255, 3.1357)
Luminance0.1452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6A1B #1B2B7A
analogous
#7A3B1B #7A6A1B #5B7A1B
triadic
#7A6A1B #1B7A6A #6A1B7A
tetradic
#7A6A1B #1B7A3B #1B2B7A #7A1B5B
square
#7A6A1B #1B7A3B #1B2B7A #7A1B5B
split-complementary
#7A6A1B #1B5B7A #3B1B7A
monochromatic
#191606 #483E10 #7A6A1B #AC9626 #D4BA3C

Accessibility & contrast

On white

5.38
#7A6A1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#7A6A1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6A1B
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6A1B#FFFFFF#000000##FFFFFF
##7A6A1B1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75670C
Deuteranopia (green-blind)
#7A6D20
Tritanopia (blue-blind)
#84615B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7a6a1b;
/* rgb */ color: rgb(122, 106, 27);
/* oklch */ color: oklch(52.5% 0.097 97.2);
Tailwind
colors: {
  custom: {
    50: '#a4945e',
    500: '#7a6a1b',
    950: '#000000',
  },
}
SCSS
$custom: #7a6a1b;
$custom-light: #a4945e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6a1b",
  "rgb": {
    "r": 122,
    "g": 106,
    "b": 27
  },
  "hsl": {
    "h": 49.895,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52476,
    "c": 0.0971,
    "h": 97.2
  },
  "luminance": 0.14525
}

Semantic roles & 50–950 ramp

primary
#7A6A1B
secondary
#4355AE
accent
#5DE741
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7A6A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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