#7A6E1A#7A6E1A

#7A6E1A is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.4% C 0.101 H 100.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7A6E1A
RGBrgb(122, 110, 26)
HSLhsl(53, 65%, 29%)
HSVhsv(53, 79%, 48%)
CMYKcmyk(0%, 9.8%, 78.7%, 52.2%)
CIE-LABlab(46.13, -5.07, 45.29)
CIE-LCHlch(46.13, 45.58, 96.39°)
OKLaboklab(53.39% -0.0189 0.0992)
OKLCHoklch(53.39% 0.101 100.8)
XYZxyz(13.7891, 15.3647, 3.2164)
Luminance0.1536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6E1A #1A267A
analogous
#7A3E1A #7A6E1A #567A1A
triadic
#7A6E1A #1A7A6E #6E1A7A
tetradic
#7A6E1A #1A7A3E #1A267A #7A1A56
square
#7A6E1A #1A7A3E #1A267A #7A1A56
split-complementary
#7A6E1A #1A567A #3E1A7A
monochromatic
#191705 #48410F #7A6E1A #AC9B25 #D5C139

Accessibility & contrast

On white

5.16
#7A6E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7A6E1A
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6E1A#FFFFFF#000000##FFFFFF
##7A6E1A1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B09
Deuteranopia (green-blind)
#7D6F20
Tritanopia (blue-blind)
#84655E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7a6e1a;
/* rgb */ color: rgb(122, 110, 26);
/* oklch */ color: oklch(53.4% 0.101 100.8);
Tailwind
colors: {
  custom: {
    50: '#a4975e',
    500: '#7a6e1a',
    950: '#000000',
  },
}
SCSS
$custom: #7a6e1a;
$custom-light: #a4975e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6e1a",
  "rgb": {
    "r": 122,
    "g": 110,
    "b": 26
  },
  "hsl": {
    "h": 52.5,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53388,
    "c": 0.10103,
    "h": 100.8
  },
  "luminance": 0.15364
}

Semantic roles & 50–950 ramp

primary
#7A6E1A
secondary
#414FAE
accent
#55E840
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7A6E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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