#A79C20#A79C20

#A79C20 is a light, vivid yellow. Relative luminance 0.321; OKLCH L 68.2% C 0.135 H 104.0°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#A79C20
RGBrgb(167, 156, 32)
HSLhsl(55, 68%, 39%)
HSVhsv(55, 81%, 65%)
CMYKcmyk(0%, 6.6%, 80.8%, 34.5%)
CIE-LABlab(63.42, -9.31, 60.48)
CIE-LCHlch(63.42, 61.20, 98.75°)
OKLaboklab(68.15% -0.0327 0.1309)
OKLCHoklch(68.15% 0.135 104)
XYZxyz(28.0868, 32.0979, 6.0823)
Luminance0.3210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79C20 #202BA7
analogous
#A75920 #A79C20 #6FA720
triadic
#A79C20 #20A79C #9C20A7
tetradic
#A79C20 #20A759 #202BA7 #A7206F
square
#A79C20 #20A759 #202BA7 #A7206F
split-complementary
#A79C20 #206FA7 #5920A7
monochromatic
#403C0C #746C16 #A79C20 #D7C92D #E1D661

Accessibility & contrast

On white

2.83
#A79C20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#A79C20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79C20
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79C20#FFFFFF#000000##000000
##A79C201.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#AE9C2B
Tritanopia (blue-blind)
#B49185
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a79c20;
/* rgb */ color: rgb(167, 156, 32);
/* oklch */ color: oklch(68.2% 0.135 104.0);
Tailwind
colors: {
  custom: {
    50: '#c5b868',
    500: '#a79c20',
    950: '#000000',
  },
}
SCSS
$custom: #a79c20;
$custom-light: #c5b868;
$custom-dark: #000000;
JSON
{
  "hex": "#a79c20",
  "rgb": {
    "r": 167,
    "g": 156,
    "b": 32
  },
  "hsl": {
    "h": 55.111,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.68151,
    "c": 0.13492,
    "h": 104
  },
  "luminance": 0.32097
}

Semantic roles & 50–950 ramp

primary
#A79C20
secondary
#5D66C5
accent
#4BEB3D
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A79C20

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

Preview Lab → · Contrast checker → · Palette generator →

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