#A0A522#A0A522

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

Color values

HEX#A0A522
RGBrgb(160, 165, 34)
HSLhsl(62, 66%, 39%)
HSVhsv(62, 79%, 65%)
CMYKcmyk(3%, 0%, 79.4%, 35.3%)
CIE-LABlab(65.36, -17.03, 61.37)
CIE-LCHlch(65.36, 63.69, 105.51°)
OKLaboklab(69.55% -0.0537 0.1335)
OKLCHoklch(69.55% 0.144 111.9)
XYZxyz(28.2421, 34.5001, 6.6845)
Luminance0.3450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0A522 #2722A5
analogous
#A56922 #A0A522 #5FA522
triadic
#A0A522 #22A0A5 #A522A0
tetradic
#A0A522 #22A569 #2722A5 #A5225F
square
#A0A522 #22A569 #2722A5 #A5225F
split-complementary
#A0A522 #225FA5 #6922A5
monochromatic
#3E400D #6F7218 #A0A522 #CED430 #DADF63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A0A522#FFFFFF#000000##000000
##A0A5221.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)
#B3A02E
Tritanopia (blue-blind)
#AB9A8D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a0a522;
/* rgb */ color: rgb(160, 165, 34);
/* oklch */ color: oklch(69.6% 0.144 111.9);
Tailwind
colors: {
  custom: {
    50: '#c0bf6a',
    500: '#a0a522',
    950: '#000000',
  },
}
SCSS
$custom: #a0a522;
$custom-light: #c0bf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a0a522",
  "rgb": {
    "r": 160,
    "g": 165,
    "b": 34
  },
  "hsl": {
    "h": 62.29,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.69553,
    "c": 0.14389,
    "h": 111.9
  },
  "luminance": 0.34499
}

Semantic roles & 50–950 ramp

primary
#A0A522
secondary
#635FC4
accent
#3FE946
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A0A522

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

Preview Lab → · Contrast checker → · Palette generator →

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