#A5AD20#A5AD20

#A5AD20 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 71.8% C 0.152 H 113.1°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#A5AD20
RGBrgb(165, 173, 32)
HSLhsl(63, 69%, 40%)
HSVhsv(63, 82%, 68%)
CMYKcmyk(4.6%, 0%, 81.5%, 32.2%)
CIE-LABlab(68.01, -18.99, 64.42)
CIE-LCHlch(68.01, 67.16, 106.42°)
OKLaboklab(71.78% -0.0595 0.1395)
OKLCHoklch(71.78% 0.152 113.1)
XYZxyz(30.7224, 37.9915, 7.0809)
Luminance0.3799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AD20 #2820AD
analogous
#AD6E20 #A5AD20 #5FAD20
triadic
#A5AD20 #20A5AD #AD20A5
tetradic
#A5AD20 #20AD6E #2820AD #AD205F
square
#A5AD20 #20AD6E #2820AD #AD205F
split-complementary
#A5AD20 #205FAD #6E20AD
monochromatic
#42460D #747916 #A5AD20 #CFD931 #DBE265

Accessibility & contrast

On white

2.44
#A5AD20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#A5AD20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AD20
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AD20#FFFFFF#000000##000000
##A5AD201.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA400
Deuteranopia (green-blind)
#BBA72E
Tritanopia (blue-blind)
#B1A294
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a5ad20;
/* rgb */ color: rgb(165, 173, 32);
/* oklch */ color: oklch(71.8% 0.152 113.1);
Tailwind
colors: {
  custom: {
    50: '#c4c56a',
    500: '#a5ad20',
    950: '#000000',
  },
}
SCSS
$custom: #a5ad20;
$custom-light: #c4c56a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ad20",
  "rgb": {
    "r": 165,
    "g": 173,
    "b": 32
  },
  "hsl": {
    "h": 63.404,
    "s": 68.78,
    "l": 40.196
  },
  "oklch": {
    "l": 0.71777,
    "c": 0.15164,
    "h": 113.1
  },
  "luminance": 0.37991
}

Semantic roles & 50–950 ramp

primary
#A5AD20
secondary
#6761C8
accent
#3CEC46
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5AD20

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

Preview Lab → · Contrast checker → · Palette generator →

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