#7A6820#7A6820

#7A6820 is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 52.1% C 0.092 H 94.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7A6820
RGBrgb(122, 104, 32)
HSLhsl(48, 58%, 30%)
HSVhsv(48, 74%, 48%)
CMYKcmyk(0%, 14.8%, 73.8%, 52.2%)
CIE-LABlab(44.44, -1.33, 41.23)
CIE-LCHlch(44.44, 41.25, 91.85°)
OKLaboklab(52.06% -0.0076 0.0919)
OKLCHoklch(52.06% 0.092 94.7)
XYZxyz(13.2377, 14.1432, 3.3989)
Luminance0.1414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6820 #20327A
analogous
#7A3B20 #7A6820 #5F7A20
triadic
#7A6820 #207A68 #68207A
tetradic
#7A6820 #207A3B #20327A #7A205F
square
#7A6820 #207A3B #20327A #7A205F
split-complementary
#7A6820 #205F7A #3B207A
monochromatic
#191507 #4A3F13 #7A6820 #AA912D #CEB346

Accessibility & contrast

On white

5.49
#7A6820 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#7A6820 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6820
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6820#FFFFFF#000000##FFFFFF
##7A68201.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736616
Deuteranopia (green-blind)
#786B24
Tritanopia (blue-blind)
#846059
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a6820;
/* rgb */ color: rgb(122, 104, 32);
/* oklch */ color: oklch(52.1% 0.092 94.7);
Tailwind
colors: {
  custom: {
    50: '#a49260',
    500: '#7a6820',
    950: '#000000',
  },
}
SCSS
$custom: #7a6820;
$custom-light: #a49260;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6820",
  "rgb": {
    "r": 122,
    "g": 104,
    "b": 32
  },
  "hsl": {
    "h": 48,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5206,
    "c": 0.09216,
    "h": 94.7
  },
  "luminance": 0.14142
}

Semantic roles & 50–950 ramp

primary
#7A6820
secondary
#495DAD
accent
#65E246
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#100D05
muted
#7F7D79

Preview Lab

Preview with #7A6820

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

Preview Lab → · Contrast checker → · Palette generator →

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