#A8A332#A8A332

#A8A332 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.9% C 0.131 H 106.8°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#A8A332
RGBrgb(168, 163, 50)
HSLhsl(57, 54%, 43%)
HSVhsv(57, 70%, 66%)
CMYKcmyk(0%, 3%, 70.2%, 34.1%)
CIE-LABlab(65.55, -11.77, 56.31)
CIE-LCHlch(65.55, 57.53, 101.80°)
OKLaboklab(69.9% -0.0379 0.1254)
OKLCHoklch(69.9% 0.131 106.8)
XYZxyz(29.8225, 34.7505, 8.1536)
Luminance0.3475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A332 #3237A8
analogous
#A86832 #A8A332 #72A832
triadic
#A8A332 #32A8A3 #A332A8
tetradic
#A8A332 #32A868 #3237A8 #A83272
square
#A8A332 #32A868 #3237A8 #A83272
split-complementary
#A8A332 #3272A8 #6832A8
monochromatic
#4A4716 #797524 #A8A332 #CAC54D #D8D47C

Accessibility & contrast

On white

2.64
#A8A332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#A8A332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A332
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A332#FFFFFF#000000##000000
##A8A3321.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D20
Deuteranopia (green-blind)
#B3A13A
Tritanopia (blue-blind)
#B4988D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a8a332;
/* rgb */ color: rgb(168, 163, 50);
/* oklch */ color: oklch(69.9% 0.131 106.8);
Tailwind
colors: {
  custom: {
    50: '#c5be71',
    500: '#a8a332',
    950: '#000000',
  },
}
SCSS
$custom: #a8a332;
$custom-light: #c5be71;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a332",
  "rgb": {
    "r": 168,
    "g": 163,
    "b": 50
  },
  "hsl": {
    "h": 57.458,
    "s": 54.128,
    "l": 42.745
  },
  "oklch": {
    "l": 0.69901,
    "c": 0.13102,
    "h": 106.8
  },
  "luminance": 0.3475
}

Semantic roles & 50–950 ramp

primary
#A8A332
secondary
#7578C1
accent
#51DD4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A332

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

Preview Lab → · Contrast checker → · Palette generator →

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