#A5A920#A5A920

#A5A920 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 70.9% C 0.148 H 111.4°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#A5A920
RGBrgb(165, 169, 32)
HSLhsl(62, 68%, 39%)
HSVhsv(62, 81%, 66%)
CMYKcmyk(2.4%, 0%, 81.1%, 33.7%)
CIE-LABlab(66.89, -16.96, 63.44)
CIE-LCHlch(66.89, 65.67, 104.96°)
OKLaboklab(70.87% -0.0539 0.1374)
OKLCHoklch(70.87% 0.148 111.4)
XYZxyz(29.9668, 36.4804, 6.8291)
Luminance0.3648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A920 #2420A9
analogous
#A96920 #A5A920 #61A920
triadic
#A5A920 #20A5A9 #A920A5
tetradic
#A5A920 #20A969 #2420A9 #A92061
square
#A5A920 #20A969 #2420A9 #A92061
split-complementary
#A5A920 #2061A9 #6920A9
monochromatic
#41420D #737616 #A5A920 #D3D82F #DEE162

Accessibility & contrast

On white

2.53
#A5A920 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#A5A920 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A920
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A920#FFFFFF#000000##000000
##A5A9201.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B7A42D
Tritanopia (blue-blind)
#B19E90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a5a920;
/* rgb */ color: rgb(165, 169, 32);
/* oklch */ color: oklch(70.9% 0.148 111.4);
Tailwind
colors: {
  custom: {
    50: '#c4c269',
    500: '#a5a920',
    950: '#000000',
  },
}
SCSS
$custom: #a5a920;
$custom-light: #c4c269;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a920",
  "rgb": {
    "r": 165,
    "g": 169,
    "b": 32
  },
  "hsl": {
    "h": 61.752,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.70872,
    "c": 0.14756,
    "h": 111.4
  },
  "luminance": 0.3648
}

Semantic roles & 50–950 ramp

primary
#A5A920
secondary
#625FC6
accent
#3DEB42
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5A920

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

Preview Lab → · Contrast checker → · Palette generator →

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