#A79931#A79931

#A79931 is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.6% C 0.122 H 101.5°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#A79931
RGBrgb(167, 153, 49)
HSLhsl(53, 55%, 42%)
HSVhsv(53, 71%, 65%)
CMYKcmyk(0%, 8.4%, 70.7%, 34.5%)
CIE-LABlab(62.69, -6.97, 53.83)
CIE-LCHlch(62.69, 54.28, 97.37°)
OKLaboklab(67.6% -0.0244 0.12)
OKLCHoklch(67.6% 0.122 101.5)
XYZxyz(27.8832, 31.2209, 7.4627)
Luminance0.3122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79931 #313FA7
analogous
#A75E31 #A79931 #7AA731
triadic
#A79931 #31A799 #9931A7
tetradic
#A79931 #31A75E #313FA7 #A7317A
square
#A79931 #31A75E #313FA7 #A7317A
split-complementary
#A79931 #317AA7 #5E31A7
monochromatic
#484215 #786E23 #A79931 #CABB4B #D8CD7A

Accessibility & contrast

On white

2.90
#A79931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#A79931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79931
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79931#FFFFFF#000000##000000
##A799311.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79421
Deuteranopia (green-blind)
#AB9A37
Tritanopia (blue-blind)
#B48E84
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a79931;
/* rgb */ color: rgb(167, 153, 49);
/* oklch */ color: oklch(67.6% 0.122 101.5);
Tailwind
colors: {
  custom: {
    50: '#c4b670',
    500: '#a79931',
    950: '#000000',
  },
}
SCSS
$custom: #a79931;
$custom-light: #c4b670;
$custom-dark: #000000;
JSON
{
  "hex": "#a79931",
  "rgb": {
    "r": 167,
    "g": 153,
    "b": 49
  },
  "hsl": {
    "h": 52.881,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.67602,
    "c": 0.12249,
    "h": 101.5
  },
  "luminance": 0.3122
}

Semantic roles & 50–950 ramp

primary
#A79931
secondary
#737CC1
accent
#5BDE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #A79931

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

Preview Lab → · Contrast checker → · Palette generator →

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