#A79E20#A79E20

#A79E20 is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.6% C 0.137 H 105.1°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#A79E20
RGBrgb(167, 158, 32)
HSLhsl(56, 68%, 39%)
HSVhsv(56, 81%, 65%)
CMYKcmyk(0%, 5.4%, 80.8%, 34.5%)
CIE-LABlab(63.98, -10.36, 60.97)
CIE-LCHlch(63.98, 61.84, 99.65°)
OKLaboklab(68.59% -0.0356 0.132)
OKLCHoklch(68.59% 0.137 105.1)
XYZxyz(28.4252, 32.7746, 6.1951)
Luminance0.3277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79E20 #2029A7
analogous
#A75B20 #A79E20 #6DA720
triadic
#A79E20 #20A79E #9E20A7
tetradic
#A79E20 #20A75B #2029A7 #A7206D
square
#A79E20 #20A75B #2029A7 #A7206D
split-complementary
#A79E20 #206DA7 #5B20A7
monochromatic
#403D0C #746D16 #A79E20 #D7CC2D #E1D861

Accessibility & contrast

On white

2.78
#A79E20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#A79E20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79E20
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79E20#FFFFFF#000000##000000
##A79E201.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#B09D2B
Tritanopia (blue-blind)
#B49387
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a79e20;
/* rgb */ color: rgb(167, 158, 32);
/* oklch */ color: oklch(68.6% 0.137 105.1);
Tailwind
colors: {
  custom: {
    50: '#c5ba68',
    500: '#a79e20',
    950: '#000000',
  },
}
SCSS
$custom: #a79e20;
$custom-light: #c5ba68;
$custom-dark: #000000;
JSON
{
  "hex": "#a79e20",
  "rgb": {
    "r": 167,
    "g": 158,
    "b": 32
  },
  "hsl": {
    "h": 56,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.68592,
    "c": 0.13668,
    "h": 105.1
  },
  "luminance": 0.32773
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A79E20

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

Preview Lab → · Contrast checker → · Palette generator →

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