#A5A721#A5A721

#A5A721 is a light, vivid yellow. Relative luminance 0.357; 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#A5A721
RGBrgb(165, 167, 33)
HSLhsl(61, 67%, 39%)
HSVhsv(61, 80%, 65%)
CMYKcmyk(1.2%, 0%, 80.2%, 34.5%)
CIE-LABlab(66.33, -15.90, 62.68)
CIE-LCHlch(66.33, 64.66, 104.23°)
OKLaboklab(70.43% -0.0508 0.1359)
OKLCHoklch(70.43% 0.145 110.5)
XYZxyz(29.6114, 35.7474, 6.7787)
Luminance0.3575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A721 #2321A7
analogous
#A76621 #A5A721 #62A721
triadic
#A5A721 #21A5A7 #A721A5
tetradic
#A5A721 #21A766 #2321A7 #A72162
square
#A5A721 #21A766 #2321A7 #A72162
split-complementary
#A5A721 #2162A7 #6621A7
monochromatic
#40410D #737417 #A5A721 #D3D62F #DEE062

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5A721#FFFFFF#000000##000000
##A5A7211.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: #a5a721;
/* rgb */ color: rgb(165, 167, 33);
/* oklch */ color: oklch(70.4% 0.145 110.5);
Tailwind
colors: {
  custom: {
    50: '#c4c06a',
    500: '#a5a721',
    950: '#000000',
  },
}
SCSS
$custom: #a5a721;
$custom-light: #c4c06a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a721",
  "rgb": {
    "r": 165,
    "g": 167,
    "b": 33
  },
  "hsl": {
    "h": 60.896,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.70427,
    "c": 0.14511,
    "h": 110.5
  },
  "luminance": 0.35747
}

Semantic roles & 50–950 ramp

primary
#A5A721
secondary
#605FC5
accent
#3EEA40
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5A721

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

Preview Lab → · Contrast checker → · Palette generator →

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