#A5A324#A5A324

#A5A324 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.5% C 0.140 H 108.6°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#A5A324
RGBrgb(165, 163, 36)
HSLhsl(59, 64%, 39%)
HSVhsv(59, 78%, 65%)
CMYKcmyk(0%, 1.2%, 78.2%, 35.3%)
CIE-LABlab(65.22, -13.72, 60.80)
CIE-LCHlch(65.22, 62.33, 102.72°)
OKLaboklab(69.55% -0.0446 0.1324)
OKLCHoklch(69.55% 0.14 108.6)
XYZxyz(28.9338, 34.3220, 6.7694)
Luminance0.3432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A324 #2426A5
analogous
#A56324 #A5A324 #67A524
triadic
#A5A324 #24A5A3 #A324A5
tetradic
#A5A324 #24A563 #2426A5 #A52467
square
#A5A324 #24A563 #2426A5 #A52467
split-complementary
#A5A324 #2467A5 #6324A5
monochromatic
#41400E #737119 #A5A324 #D3D034 #DEDC66

Accessibility & contrast

On white

2.67
#A5A324 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#A5A324 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A324
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A324#FFFFFF#000000##000000
##A5A3241.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B3A02F
Tritanopia (blue-blind)
#B1988C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a5a324;
/* rgb */ color: rgb(165, 163, 36);
/* oklch */ color: oklch(69.5% 0.140 108.6);
Tailwind
colors: {
  custom: {
    50: '#c3be6a',
    500: '#a5a324',
    950: '#000000',
  },
}
SCSS
$custom: #a5a324;
$custom-light: #c3be6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a324",
  "rgb": {
    "r": 165,
    "g": 163,
    "b": 36
  },
  "hsl": {
    "h": 59.07,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.69545,
    "c": 0.13974,
    "h": 108.6
  },
  "luminance": 0.34321
}

Semantic roles & 50–950 ramp

primary
#A5A324
secondary
#6263C3
accent
#43E741
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5A324

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

Preview Lab → · Contrast checker → · Palette generator →

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