#A79E31#A79E31

#A79E31 is a light, vivid yellow. Relative luminance 0.329; OKLCH L 68.7% C 0.127 H 104.6°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#A79E31
RGBrgb(167, 158, 49)
HSLhsl(55, 55%, 42%)
HSVhsv(55, 71%, 65%)
CMYKcmyk(0%, 5.4%, 70.7%, 34.5%)
CIE-LABlab(64.07, -9.63, 55.20)
CIE-LCHlch(64.07, 56.04, 99.89°)
OKLaboklab(68.7% -0.0319 0.1229)
OKLCHoklch(68.7% 0.127 104.6)
XYZxyz(28.7188, 32.8921, 7.7412)
Luminance0.3289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79E31 #313AA7
analogous
#A76331 #A79E31 #75A731
triadic
#A79E31 #31A79E #9E31A7
tetradic
#A79E31 #31A763 #313AA7 #A73175
square
#A79E31 #31A763 #313AA7 #A73175
split-complementary
#A79E31 #3175A7 #6331A7
monochromatic
#484415 #787123 #A79E31 #CAC04B #D8D17A

Accessibility & contrast

On white

2.77
#A79E31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#A79E31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79E31
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79E31#FFFFFF#000000##000000
##A79E311.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9820
Deuteranopia (green-blind)
#AF9E38
Tritanopia (blue-blind)
#B39388
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a79e31;
/* rgb */ color: rgb(167, 158, 49);
/* oklch */ color: oklch(68.7% 0.127 104.6);
Tailwind
colors: {
  custom: {
    50: '#c4ba70',
    500: '#a79e31',
    950: '#000000',
  },
}
SCSS
$custom: #a79e31;
$custom-light: #c4ba70;
$custom-dark: #000000;
JSON
{
  "hex": "#a79e31",
  "rgb": {
    "r": 167,
    "g": 158,
    "b": 49
  },
  "hsl": {
    "h": 55.424,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68699,
    "c": 0.12701,
    "h": 104.6
  },
  "luminance": 0.32891
}

Semantic roles & 50–950 ramp

primary
#A79E31
secondary
#7379C1
accent
#55DE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #A79E31

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

Preview Lab → · Contrast checker → · Palette generator →

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