#A2A031#A2A031

#A2A031 is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.7% C 0.130 H 108.4°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#A2A031
RGBrgb(162, 160, 49)
HSLhsl(59, 54%, 41%)
HSVhsv(59, 70%, 64%)
CMYKcmyk(0%, 1.2%, 69.8%, 36.5%)
CIE-LABlab(64.20, -12.88, 55.18)
CIE-LCHlch(64.20, 56.67, 103.14°)
OKLaboklab(68.69% -0.0408 0.1231)
OKLCHoklch(68.69% 0.13 108.4)
XYZxyz(28.0265, 33.0456, 7.8072)
Luminance0.3305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A031 #3133A2
analogous
#A26831 #A2A031 #6CA231
triadic
#A2A031 #31A2A0 #A031A2
tetradic
#A2A031 #31A268 #3133A2 #A2316C
square
#A2A031 #31A268 #3133A2 #A2316C
split-complementary
#A2A031 #316CA2 #6831A2
monochromatic
#444315 #737223 #A2A031 #C8C648 #D6D477

Accessibility & contrast

On white

2.76
#A2A031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#A2A031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A031
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A031#FFFFFF#000000##000000
##A2A0311.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991F
Deuteranopia (green-blind)
#AF9D39
Tritanopia (blue-blind)
#AE968A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a2a031;
/* rgb */ color: rgb(162, 160, 49);
/* oklch */ color: oklch(68.7% 0.130 108.4);
Tailwind
colors: {
  custom: {
    50: '#c1bb70',
    500: '#a2a031',
    950: '#000000',
  },
}
SCSS
$custom: #a2a031;
$custom-light: #c1bb70;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a031",
  "rgb": {
    "r": 162,
    "g": 160,
    "b": 49
  },
  "hsl": {
    "h": 58.938,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68693,
    "c": 0.12964,
    "h": 108.4
  },
  "luminance": 0.33045
}

Semantic roles & 50–950 ramp

primary
#A2A031
secondary
#7172BE
accent
#4DDD4B
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #A2A031

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

Preview Lab → · Contrast checker → · Palette generator →

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