#A5A620#A5A620

#A5A620 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.2% C 0.145 H 110.1°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#A5A620
RGBrgb(165, 166, 32)
HSLhsl(60, 68%, 39%)
HSVhsv(60, 81%, 65%)
CMYKcmyk(0.6%, 0%, 80.7%, 34.9%)
CIE-LABlab(66.04, -15.42, 62.71)
CIE-LCHlch(66.04, 64.58, 103.82°)
OKLaboklab(70.2% -0.0496 0.1358)
OKLCHoklch(70.2% 0.145 110.1)
XYZxyz(29.4151, 35.3769, 6.6452)
Luminance0.3538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A620 #2120A6
analogous
#A66420 #A5A620 #62A620
triadic
#A5A620 #20A5A6 #A620A5
tetradic
#A5A620 #20A664 #2120A6 #A62062
square
#A5A620 #20A664 #2120A6 #A62062
split-complementary
#A5A620 #2062A6 #6420A6
monochromatic
#3F3F0C #727316 #A5A620 #D5D62D #DFE060

Accessibility & contrast

On white

2.60
#A5A620 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#A5A620 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A620
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A620#FFFFFF#000000##000000
##A5A6201.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B5A22D
Tritanopia (blue-blind)
#B19B8E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a5a620;
/* rgb */ color: rgb(165, 166, 32);
/* oklch */ color: oklch(70.2% 0.145 110.1);
Tailwind
colors: {
  custom: {
    50: '#c4c069',
    500: '#a5a620',
    950: '#000000',
  },
}
SCSS
$custom: #a5a620;
$custom-light: #c4c069;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a620",
  "rgb": {
    "r": 165,
    "g": 166,
    "b": 32
  },
  "hsl": {
    "h": 60.448,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.70197,
    "c": 0.14457,
    "h": 110.1
  },
  "luminance": 0.35376
}

Semantic roles & 50–950 ramp

primary
#A5A620
secondary
#5E5DC5
accent
#3DEB3F
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5A620

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

Preview Lab → · Contrast checker → · Palette generator →

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