#A79F31#A79F31

#A79F31 is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.9% C 0.128 H 105.1°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#A79F31
RGBrgb(167, 159, 49)
HSLhsl(56, 55%, 42%)
HSVhsv(56, 71%, 65%)
CMYKcmyk(0%, 4.8%, 70.7%, 34.5%)
CIE-LABlab(64.35, -10.16, 55.48)
CIE-LCHlch(64.35, 56.40, 100.38°)
OKLaboklab(68.92% -0.0334 0.1235)
OKLCHoklch(68.92% 0.128 105.1)
XYZxyz(28.8900, 33.2346, 7.7983)
Luminance0.3323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79F31 #3139A7
analogous
#A76431 #A79F31 #74A731
triadic
#A79F31 #31A79F #9F31A7
tetradic
#A79F31 #31A764 #3139A7 #A73174
square
#A79F31 #31A764 #3139A7 #A73174
split-complementary
#A79F31 #3174A7 #6431A7
monochromatic
#484515 #787223 #A79F31 #CAC24B #D8D27A

Accessibility & contrast

On white

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

On black

7.65
#A79F31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79F31
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79F31#FFFFFF#000000##000000
##A79F311.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9920
Deuteranopia (green-blind)
#B09E38
Tritanopia (blue-blind)
#B39489
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a79f31;
/* rgb */ color: rgb(167, 159, 49);
/* oklch */ color: oklch(68.9% 0.128 105.1);
Tailwind
colors: {
  custom: {
    50: '#c4bb70',
    500: '#a79f31',
    950: '#000000',
  },
}
SCSS
$custom: #a79f31;
$custom-light: #c4bb70;
$custom-dark: #000000;
JSON
{
  "hex": "#a79f31",
  "rgb": {
    "r": 167,
    "g": 159,
    "b": 49
  },
  "hsl": {
    "h": 55.932,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68919,
    "c": 0.12796,
    "h": 105.1
  },
  "luminance": 0.33234
}

Semantic roles & 50–950 ramp

primary
#A79F31
secondary
#7378C1
accent
#54DE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #A79F31

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

Preview Lab → · Contrast checker → · Palette generator →

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