#A79F20#A79F20

#A79F20 is a light, vivid yellow. Relative luminance 0.331; OKLCH L 68.8% C 0.138 H 105.6°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#A79F20
RGBrgb(167, 159, 32)
HSLhsl(56, 68%, 39%)
HSVhsv(56, 81%, 65%)
CMYKcmyk(0%, 4.8%, 80.8%, 34.5%)
CIE-LABlab(64.26, -10.89, 61.21)
CIE-LCHlch(64.26, 62.17, 100.09°)
OKLaboklab(68.81% -0.0371 0.1325)
OKLCHoklch(68.81% 0.138 105.6)
XYZxyz(28.5965, 33.1172, 6.2522)
Luminance0.3312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79F20 #2028A7
analogous
#A75B20 #A79F20 #6CA720
triadic
#A79F20 #20A79F #9F20A7
tetradic
#A79F20 #20A75B #2028A7 #A7206C
square
#A79F20 #20A75B #2028A7 #A7206C
split-complementary
#A79F20 #206CA7 #5B20A7
monochromatic
#403D0C #746E16 #A79F20 #D7CD2D #E1D961

Accessibility & contrast

On white

2.75
#A79F20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#A79F20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79F20
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79F20#FFFFFF#000000##000000
##A79F201.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#B19E2B
Tritanopia (blue-blind)
#B49488
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a79f20;
/* rgb */ color: rgb(167, 159, 32);
/* oklch */ color: oklch(68.8% 0.138 105.6);
Tailwind
colors: {
  custom: {
    50: '#c5bb68',
    500: '#a79f20',
    950: '#000000',
  },
}
SCSS
$custom: #a79f20;
$custom-light: #c5bb68;
$custom-dark: #000000;
JSON
{
  "hex": "#a79f20",
  "rgb": {
    "r": 167,
    "g": 159,
    "b": 32
  },
  "hsl": {
    "h": 56.444,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.68813,
    "c": 0.13757,
    "h": 105.6
  },
  "luminance": 0.33116
}

Semantic roles & 50–950 ramp

primary
#A79F20
secondary
#5D64C5
accent
#47EB3D
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A79F20

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

Preview Lab → · Contrast checker → · Palette generator →

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