#A0A520#A0A520

#A0A520 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.5% C 0.145 H 111.9°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#A0A520
RGBrgb(160, 165, 32)
HSLhsl(62, 68%, 39%)
HSVhsv(62, 81%, 65%)
CMYKcmyk(3%, 0%, 80.6%, 35.3%)
CIE-LABlab(65.35, -17.10, 61.94)
CIE-LCHlch(65.35, 64.26, 105.44°)
OKLaboklab(69.54% -0.054 0.1344)
OKLCHoklch(69.54% 0.145 111.9)
XYZxyz(28.2140, 34.4889, 6.5370)
Luminance0.3449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0A520 #2520A5
analogous
#A56720 #A0A520 #5DA520
triadic
#A0A520 #20A0A5 #A520A0
tetradic
#A0A520 #20A567 #2520A5 #A5205D
square
#A0A520 #20A567 #2520A5 #A5205D
split-complementary
#A0A520 #205DA5 #6720A5
monochromatic
#3D3E0C #6E7216 #A0A520 #D0D62C #DBE05F

Accessibility & contrast

On white

2.66
#A0A520 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#A0A520 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0A520
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0A520#FFFFFF#000000##000000
##A0A5201.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B3A02D
Tritanopia (blue-blind)
#AC9A8D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a0a520;
/* rgb */ color: rgb(160, 165, 32);
/* oklch */ color: oklch(69.5% 0.145 111.9);
Tailwind
colors: {
  custom: {
    50: '#c0bf69',
    500: '#a0a520',
    950: '#000000',
  },
}
SCSS
$custom: #a0a520;
$custom-light: #c0bf69;
$custom-dark: #000000;
JSON
{
  "hex": "#a0a520",
  "rgb": {
    "r": 160,
    "g": 165,
    "b": 32
  },
  "hsl": {
    "h": 62.256,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.69543,
    "c": 0.14481,
    "h": 111.9
  },
  "luminance": 0.34488
}

Semantic roles & 50–950 ramp

primary
#A0A520
secondary
#605CC5
accent
#3DEA44
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A0A520

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

Preview Lab → · Contrast checker → · Palette generator →

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