#A8A533#A8A533

#A8A533 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.4% C 0.132 H 107.9°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#A8A533
RGBrgb(168, 165, 51)
HSLhsl(58, 53%, 43%)
HSVhsv(58, 70%, 66%)
CMYKcmyk(0%, 1.8%, 69.6%, 34.1%)
CIE-LABlab(66.12, -12.76, 56.48)
CIE-LCHlch(66.12, 57.90, 102.73°)
OKLaboklab(70.35% -0.0406 0.1259)
OKLCHoklch(70.35% 0.132 107.9)
XYZxyz(30.2022, 35.4751, 8.3878)
Luminance0.3547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A533 #3336A8
analogous
#A86B33 #A8A533 #70A833
triadic
#A8A533 #33A8A5 #A533A8
tetradic
#A8A533 #33A86B #3336A8 #A83370
square
#A8A533 #33A86B #3336A8 #A83370
split-complementary
#A8A533 #3370A8 #6B33A8
monochromatic
#4A4916 #797725 #A8A533 #C9C64F #D8D57E

Accessibility & contrast

On white

2.59
#A8A533 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#A8A533 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A533
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A533#FFFFFF#000000##000000
##A8A5331.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E21
Deuteranopia (green-blind)
#B5A33B
Tritanopia (blue-blind)
#B49A8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a8a533;
/* rgb */ color: rgb(168, 165, 51);
/* oklch */ color: oklch(70.4% 0.132 107.9);
Tailwind
colors: {
  custom: {
    50: '#c5bf72',
    500: '#a8a533',
    950: '#000000',
  },
}
SCSS
$custom: #a8a533;
$custom-light: #c5bf72;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a533",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 51
  },
  "hsl": {
    "h": 58.462,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70352,
    "c": 0.13233,
    "h": 107.9
  },
  "luminance": 0.35474
}

Semantic roles & 50–950 ramp

primary
#A8A533
secondary
#7678C1
accent
#4FDD4B
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A533

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

Preview Lab → · Contrast checker → · Palette generator →

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