#A8A031#A8A031

#A8A031 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.2% C 0.129 H 105.2°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#A8A031
RGBrgb(168, 160, 49)
HSLhsl(56, 55%, 43%)
HSVhsv(56, 71%, 66%)
CMYKcmyk(0%, 4.8%, 70.8%, 34.1%)
CIE-LABlab(64.72, -10.24, 55.87)
CIE-LCHlch(64.72, 56.80, 100.39°)
OKLaboklab(69.23% -0.0337 0.1243)
OKLCHoklch(69.23% 0.129 105.2)
XYZxyz(29.2748, 33.6893, 7.8658)
Luminance0.3369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A031 #3139A8
analogous
#A86431 #A8A031 #75A831
triadic
#A8A031 #31A8A0 #A031A8
tetradic
#A8A031 #31A864 #3139A8 #A83175
square
#A8A031 #31A864 #3139A8 #A83175
split-complementary
#A8A031 #3175A8 #6431A8
monochromatic
#494615 #797323 #A8A031 #CBC24C #D8D27B

Accessibility & contrast

On white

2.71
#A8A031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#A8A031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A031
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A031#FFFFFF#000000##000000
##A8A0311.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1F
Deuteranopia (green-blind)
#B19F38
Tritanopia (blue-blind)
#B4958A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a8a031;
/* rgb */ color: rgb(168, 160, 49);
/* oklch */ color: oklch(69.2% 0.129 105.2);
Tailwind
colors: {
  custom: {
    50: '#c5bb70',
    500: '#a8a031',
    950: '#000000',
  },
}
SCSS
$custom: #a8a031;
$custom-light: #c5bb70;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a031",
  "rgb": {
    "r": 168,
    "g": 160,
    "b": 49
  },
  "hsl": {
    "h": 55.966,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69231,
    "c": 0.12879,
    "h": 105.2
  },
  "luminance": 0.33688
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A8A031

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

Preview Lab → · Contrast checker → · Palette generator →

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