#A79831#A79831

#A79831 is a light, vivid yellow. Relative luminance 0.309; OKLCH L 67.4% C 0.122 H 100.9°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#A79831
RGBrgb(167, 152, 49)
HSLhsl(52, 55%, 42%)
HSVhsv(52, 71%, 65%)
CMYKcmyk(0%, 9%, 70.7%, 34.5%)
CIE-LABlab(62.42, -6.43, 53.56)
CIE-LCHlch(62.42, 53.94, 96.85°)
OKLaboklab(67.38% -0.0229 0.1195)
OKLCHoklch(67.38% 0.122 100.9)
XYZxyz(27.7202, 30.8950, 7.4083)
Luminance0.3089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79831 #3140A7
analogous
#A75D31 #A79831 #7BA731
triadic
#A79831 #31A798 #9831A7
tetradic
#A79831 #31A75D #3140A7 #A7317B
square
#A79831 #31A75D #3140A7 #A7317B
split-complementary
#A79831 #317BA7 #5D31A7
monochromatic
#484215 #786D23 #A79831 #CABA4B #D8CC7A

Accessibility & contrast

On white

2.93
#A79831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#A79831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79831
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79831#FFFFFF#000000##000000
##A798311.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69422
Deuteranopia (green-blind)
#AB9A37
Tritanopia (blue-blind)
#B48D83
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a79831;
/* rgb */ color: rgb(167, 152, 49);
/* oklch */ color: oklch(67.4% 0.122 100.9);
Tailwind
colors: {
  custom: {
    50: '#c4b670',
    500: '#a79831',
    950: '#000000',
  },
}
SCSS
$custom: #a79831;
$custom-light: #c4b670;
$custom-dark: #000000;
JSON
{
  "hex": "#a79831",
  "rgb": {
    "r": 167,
    "g": 152,
    "b": 49
  },
  "hsl": {
    "h": 52.373,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.67384,
    "c": 0.12163,
    "h": 100.9
  },
  "luminance": 0.30894
}

Semantic roles & 50–950 ramp

primary
#A79831
secondary
#737DC1
accent
#5DDE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #A79831

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

Preview Lab → · Contrast checker → · Palette generator →

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