#A5A722#A5A722

#A5A722 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.4% C 0.145 H 110.5°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#A5A722
RGBrgb(165, 167, 34)
HSLhsl(61, 66%, 39%)
HSVhsv(61, 80%, 65%)
CMYKcmyk(1.2%, 0%, 79.6%, 34.5%)
CIE-LABlab(66.33, -15.86, 62.39)
CIE-LCHlch(66.33, 64.38, 104.27°)
OKLaboklab(70.43% -0.0507 0.1355)
OKLCHoklch(70.43% 0.145 110.5)
XYZxyz(29.6256, 35.7531, 6.8535)
Luminance0.3575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A722 #2422A7
analogous
#A76722 #A5A722 #63A722
triadic
#A5A722 #22A5A7 #A722A5
tetradic
#A5A722 #22A767 #2422A7 #A72263
square
#A5A722 #22A767 #2422A7 #A72263
split-complementary
#A5A722 #2263A7 #6722A7
monochromatic
#41410D #737418 #A5A722 #D3D531 #DEDF64

Accessibility & contrast

On white

2.58
#A5A722 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#A5A722 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A722
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A722#FFFFFF#000000##000000
##A5A7221.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B6A32E
Tritanopia (blue-blind)
#B19C8F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a5a722;
/* rgb */ color: rgb(165, 167, 34);
/* oklch */ color: oklch(70.4% 0.145 110.5);
Tailwind
colors: {
  custom: {
    50: '#c3c06a',
    500: '#a5a722',
    950: '#000000',
  },
}
SCSS
$custom: #a5a722;
$custom-light: #c3c06a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a722",
  "rgb": {
    "r": 165,
    "g": 167,
    "b": 34
  },
  "hsl": {
    "h": 60.902,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.70431,
    "c": 0.14465,
    "h": 110.5
  },
  "luminance": 0.35752
}

Semantic roles & 50–950 ramp

primary
#A5A722
secondary
#6260C5
accent
#3FE941
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5A722

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

Preview Lab → · Contrast checker → · Palette generator →

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