#A5A820#A5A820

#A5A820 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.6% C 0.147 H 111.0°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#A5A820
RGBrgb(165, 168, 32)
HSLhsl(61, 68%, 39%)
HSVhsv(61, 81%, 66%)
CMYKcmyk(1.8%, 0%, 81%, 34.1%)
CIE-LABlab(66.60, -16.45, 63.20)
CIE-LCHlch(66.60, 65.30, 104.59°)
OKLaboklab(70.65% -0.0524 0.1369)
OKLCHoklch(70.65% 0.147 111)
XYZxyz(29.7815, 36.1097, 6.7673)
Luminance0.3611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A820 #2320A8
analogous
#A86720 #A5A820 #61A820
triadic
#A5A820 #20A5A8 #A820A5
tetradic
#A5A820 #20A867 #2320A8 #A82061
square
#A5A820 #20A867 #2320A8 #A82061
split-complementary
#A5A820 #2061A8 #6720A8
monochromatic
#40410C #737516 #A5A820 #D3D72E #DEE161

Accessibility & contrast

On white

2.55
#A5A820 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#A5A820 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A820
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A820#FFFFFF#000000##000000
##A5A8201.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B7A42D
Tritanopia (blue-blind)
#B19D90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a5a820;
/* rgb */ color: rgb(165, 168, 32);
/* oklch */ color: oklch(70.6% 0.147 111.0);
Tailwind
colors: {
  custom: {
    50: '#c4c169',
    500: '#a5a820',
    950: '#000000',
  },
}
SCSS
$custom: #a5a820;
$custom-light: #c4c169;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a820",
  "rgb": {
    "r": 165,
    "g": 168,
    "b": 32
  },
  "hsl": {
    "h": 61.324,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.70647,
    "c": 0.14655,
    "h": 111
  },
  "luminance": 0.36109
}

Semantic roles & 50–950 ramp

primary
#A5A820
secondary
#605EC6
accent
#3DEB41
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5A820

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

Preview Lab → · Contrast checker → · Palette generator →

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