#A79D31#A79D31

#A79D31 is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.5% C 0.126 H 104.0°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#A79D31
RGBrgb(167, 157, 49)
HSLhsl(55, 55%, 42%)
HSVhsv(55, 71%, 65%)
CMYKcmyk(0%, 6%, 70.7%, 34.5%)
CIE-LABlab(63.80, -9.10, 54.93)
CIE-LCHlch(63.80, 55.68, 99.41°)
OKLaboklab(68.48% -0.0304 0.1224)
OKLCHoklch(68.48% 0.126 104)
XYZxyz(28.5489, 32.5523, 7.6846)
Luminance0.3255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79D31 #313BA7
analogous
#A76231 #A79D31 #76A731
triadic
#A79D31 #31A79D #9D31A7
tetradic
#A79D31 #31A762 #313BA7 #A73176
square
#A79D31 #31A762 #313BA7 #A73176
split-complementary
#A79D31 #3176A7 #6231A7
monochromatic
#484415 #787123 #A79D31 #CABF4B #D8D07A

Accessibility & contrast

On white

2.80
#A79D31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#A79D31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79D31
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79D31#FFFFFF#000000##000000
##A79D311.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9820
Deuteranopia (green-blind)
#AE9D38
Tritanopia (blue-blind)
#B49288
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a79d31;
/* rgb */ color: rgb(167, 157, 49);
/* oklch */ color: oklch(68.5% 0.126 104.0);
Tailwind
colors: {
  custom: {
    50: '#c4b970',
    500: '#a79d31',
    950: '#000000',
  },
}
SCSS
$custom: #a79d31;
$custom-light: #c4b970;
$custom-dark: #000000;
JSON
{
  "hex": "#a79d31",
  "rgb": {
    "r": 167,
    "g": 157,
    "b": 49
  },
  "hsl": {
    "h": 54.915,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68478,
    "c": 0.12608,
    "h": 104
  },
  "luminance": 0.32551
}

Semantic roles & 50–950 ramp

primary
#A79D31
secondary
#737AC1
accent
#56DE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #A79D31

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

Preview Lab → · Contrast checker → · Palette generator →

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