#A79731#A79731

#A79731 is a light, vivid yellow. Relative luminance 0.306; OKLCH L 67.2% C 0.121 H 100.2°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#A79731
RGBrgb(167, 151, 49)
HSLhsl(52, 55%, 42%)
HSVhsv(52, 71%, 65%)
CMYKcmyk(0%, 9.6%, 70.7%, 34.5%)
CIE-LABlab(62.14, -5.89, 53.28)
CIE-LCHlch(62.14, 53.61, 96.31°)
OKLaboklab(67.17% -0.0214 0.1189)
OKLCHoklch(67.17% 0.121 100.2)
XYZxyz(27.5586, 30.5717, 7.3545)
Luminance0.3057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79731 #3141A7
analogous
#A75C31 #A79731 #7CA731
triadic
#A79731 #31A797 #9731A7
tetradic
#A79731 #31A75C #3141A7 #A7317C
square
#A79731 #31A75C #3141A7 #A7317C
split-complementary
#A79731 #317CA7 #5C31A7
monochromatic
#484115 #786C23 #A79731 #CAB94B #D8CB7A

Accessibility & contrast

On white

2.95
#A79731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#A79731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79731
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79731#FFFFFF#000000##000000
##A797311.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59322
Deuteranopia (green-blind)
#AA9937
Tritanopia (blue-blind)
#B48C83
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a79731;
/* rgb */ color: rgb(167, 151, 49);
/* oklch */ color: oklch(67.2% 0.121 100.2);
Tailwind
colors: {
  custom: {
    50: '#c4b56f',
    500: '#a79731',
    950: '#000000',
  },
}
SCSS
$custom: #a79731;
$custom-light: #c4b56f;
$custom-dark: #000000;
JSON
{
  "hex": "#a79731",
  "rgb": {
    "r": 167,
    "g": 151,
    "b": 49
  },
  "hsl": {
    "h": 51.864,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.67166,
    "c": 0.12078,
    "h": 100.2
  },
  "luminance": 0.3057
}

Semantic roles & 50–950 ramp

primary
#A79731
secondary
#737EC1
accent
#5EDE4A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #A79731

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

Preview Lab → · Contrast checker → · Palette generator →

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