#A5A424#A5A424

#A5A424 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.8% C 0.141 H 109.1°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#A5A424
RGBrgb(165, 164, 36)
HSLhsl(60, 64%, 39%)
HSVhsv(60, 78%, 65%)
CMYKcmyk(0%, 0.6%, 78.2%, 35.3%)
CIE-LABlab(65.50, -14.24, 61.05)
CIE-LCHlch(65.50, 62.69, 103.13°)
OKLaboklab(69.77% -0.046 0.133)
OKLCHoklch(69.77% 0.141 109.1)
XYZxyz(29.1121, 34.6786, 6.8288)
Luminance0.3468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A424 #2425A5
analogous
#A56424 #A5A424 #66A524
triadic
#A5A424 #24A5A4 #A424A5
tetradic
#A5A424 #24A564 #2425A5 #A52466
square
#A5A424 #24A564 #2425A5 #A52466
split-complementary
#A5A424 #2466A5 #6424A5
monochromatic
#41400E #737219 #A5A424 #D3D134 #DEDD66

Accessibility & contrast

On white

2.65
#A5A424 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#A5A424 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A424
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A424#FFFFFF#000000##000000
##A5A4241.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B4A12F
Tritanopia (blue-blind)
#B1998C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a5a424;
/* rgb */ color: rgb(165, 164, 36);
/* oklch */ color: oklch(69.8% 0.141 109.1);
Tailwind
colors: {
  custom: {
    50: '#c3be6a',
    500: '#a5a424',
    950: '#000000',
  },
}
SCSS
$custom: #a5a424;
$custom-light: #c3be6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a424",
  "rgb": {
    "r": 165,
    "g": 164,
    "b": 36
  },
  "hsl": {
    "h": 59.535,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.69768,
    "c": 0.14071,
    "h": 109.1
  },
  "luminance": 0.34678
}

Semantic roles & 50–950 ramp

primary
#A5A424
secondary
#6262C3
accent
#42E741
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5A424

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

Preview Lab → · Contrast checker → · Palette generator →

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