#A5A422#A5A422

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

Color values

HEX#A5A422
RGBrgb(165, 164, 34)
HSLhsl(60, 66%, 39%)
HSVhsv(60, 79%, 65%)
CMYKcmyk(0%, 0.6%, 79.4%, 35.3%)
CIE-LABlab(65.49, -14.32, 61.65)
CIE-LCHlch(65.49, 63.29, 103.08°)
OKLaboklab(69.76% -0.0464 0.1339)
OKLCHoklch(69.76% 0.142 109.1)
XYZxyz(29.0824, 34.6667, 6.6725)
Luminance0.3467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A422 #2223A5
analogous
#A56322 #A5A422 #65A522
triadic
#A5A422 #22A5A4 #A422A5
tetradic
#A5A422 #22A563 #2223A5 #A52265
square
#A5A422 #22A563 #2223A5 #A52265
split-complementary
#A5A422 #2265A5 #6322A5
monochromatic
#403F0D #727218 #A5A422 #D4D330 #DFDE63

Accessibility & contrast

On white

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

On black

7.93
#A5A422 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A422
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A422#FFFFFF#000000##000000
##A5A4221.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5a422;
/* rgb */ color: rgb(165, 164, 34);
/* oklch */ color: oklch(69.8% 0.142 109.1);
Tailwind
colors: {
  custom: {
    50: '#c3be6a',
    500: '#a5a422',
    950: '#000000',
  },
}
SCSS
$custom: #a5a422;
$custom-light: #c3be6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a422",
  "rgb": {
    "r": 165,
    "g": 164,
    "b": 34
  },
  "hsl": {
    "h": 59.542,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.69758,
    "c": 0.14169,
    "h": 109.1
  },
  "luminance": 0.34666
}

Semantic roles & 50–950 ramp

primary
#A5A422
secondary
#5F60C4
accent
#40E93F
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5A422

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

Preview Lab → · Contrast checker → · Palette generator →

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