#A79820#A79820

#A79820 is a light, vivid yellow. Relative luminance 0.308; OKLCH L 67.3% C 0.132 H 101.7°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#A79820
RGBrgb(167, 152, 32)
HSLhsl(53, 68%, 39%)
HSVhsv(53, 81%, 65%)
CMYKcmyk(0%, 9%, 80.8%, 34.5%)
CIE-LABlab(62.32, -7.18, 59.51)
CIE-LCHlch(62.32, 59.94, 96.88°)
OKLaboklab(67.27% -0.0267 0.1288)
OKLCHoklch(67.27% 0.132 101.7)
XYZxyz(27.4266, 30.7775, 5.8622)
Luminance0.3078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79820 #202FA7
analogous
#A75520 #A79820 #73A720
triadic
#A79820 #20A798 #9820A7
tetradic
#A79820 #20A755 #202FA7 #A72073
square
#A79820 #20A755 #202FA7 #A72073
split-complementary
#A79820 #2073A7 #5520A7
monochromatic
#403B0C #746916 #A79820 #D7C42D #E1D261

Accessibility & contrast

On white

2.93
#A79820 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#A79820 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79820
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79820#FFFFFF#000000##000000
##A798201.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#AB992A
Tritanopia (blue-blind)
#B48C82
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a79820;
/* rgb */ color: rgb(167, 152, 32);
/* oklch */ color: oklch(67.3% 0.132 101.7);
Tailwind
colors: {
  custom: {
    50: '#c5b567',
    500: '#a79820',
    950: '#000000',
  },
}
SCSS
$custom: #a79820;
$custom-light: #c5b567;
$custom-dark: #000000;
JSON
{
  "hex": "#a79820",
  "rgb": {
    "r": 167,
    "g": 152,
    "b": 32
  },
  "hsl": {
    "h": 53.333,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.67273,
    "c": 0.13156,
    "h": 101.7
  },
  "luminance": 0.30776
}

Semantic roles & 50–950 ramp

primary
#A79820
secondary
#5D69C5
accent
#50EB3D
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A79820

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

Preview Lab → · Contrast checker → · Palette generator →

#A79820 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva