#A8A523#A8A523

#A8A523 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.3% C 0.142 H 108.2°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#A8A523
RGBrgb(168, 165, 35)
HSLhsl(59, 66%, 40%)
HSVhsv(59, 79%, 66%)
CMYKcmyk(0%, 1.8%, 79.2%, 34.1%)
CIE-LABlab(66.03, -13.48, 61.92)
CIE-LCHlch(66.03, 63.37, 102.28°)
OKLaboklab(70.25% -0.0441 0.1345)
OKLCHoklch(70.25% 0.142 108.2)
XYZxyz(29.9082, 35.3575, 6.8390)
Luminance0.3536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A523 #2326A8
analogous
#A86323 #A8A523 #68A823
triadic
#A8A523 #23A8A5 #A523A8
tetradic
#A8A523 #23A863 #2326A8 #A82368
square
#A8A523 #23A863 #2326A8 #A82368
split-complementary
#A8A523 #2368A8 #6323A8
monochromatic
#43420E #757318 #A8A523 #D5D134 #DFDC66

Accessibility & contrast

On white

2.60
#A8A523 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#A8A523 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A523
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A523#FFFFFF#000000##000000
##A8A5231.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B5A22E
Tritanopia (blue-blind)
#B59A8D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a8a523;
/* rgb */ color: rgb(168, 165, 35);
/* oklch */ color: oklch(70.3% 0.142 108.2);
Tailwind
colors: {
  custom: {
    50: '#c6bf6a',
    500: '#a8a523',
    950: '#000000',
  },
}
SCSS
$custom: #a8a523;
$custom-light: #c6bf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a523",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 35
  },
  "hsl": {
    "h": 58.647,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.7025,
    "c": 0.14158,
    "h": 108.2
  },
  "luminance": 0.35356
}

Semantic roles & 50–950 ramp

primary
#A8A523
secondary
#6264C5
accent
#43E83F
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A8A523

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

Preview Lab → · Contrast checker → · Palette generator →

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