#A2A431#A2A431

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

Color values

HEX#A2A431
RGBrgb(162, 164, 49)
HSLhsl(61, 54%, 42%)
HSVhsv(61, 70%, 64%)
CMYKcmyk(1.2%, 0%, 70.1%, 35.7%)
CIE-LABlab(65.32, -14.96, 56.30)
CIE-LCHlch(65.32, 58.25, 104.88°)
OKLaboklab(69.59% -0.0466 0.1254)
OKLCHoklch(69.59% 0.134 110.4)
XYZxyz(28.7311, 34.4548, 8.0421)
Luminance0.3445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A431 #3331A4
analogous
#A46C31 #A2A431 #69A431
triadic
#A2A431 #31A2A4 #A431A2
tetradic
#A2A431 #31A46C #3331A4 #A43169
square
#A2A431 #31A46C #3331A4 #A43169
split-complementary
#A2A431 #3169A4 #6C31A4
monochromatic
#454615 #737523 #A2A431 #C7C949 #D5D779

Accessibility & contrast

On white

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

On black

7.89
#A2A431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A431
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A431#FFFFFF#000000##000000
##A2A4311.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1E
Deuteranopia (green-blind)
#B2A039
Tritanopia (blue-blind)
#AD9A8D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a2a431;
/* rgb */ color: rgb(162, 164, 49);
/* oklch */ color: oklch(69.6% 0.134 110.4);
Tailwind
colors: {
  custom: {
    50: '#c1be71',
    500: '#a2a431',
    950: '#000000',
  },
}
SCSS
$custom: #a2a431;
$custom-light: #c1be71;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a431",
  "rgb": {
    "r": 162,
    "g": 164,
    "b": 49
  },
  "hsl": {
    "h": 61.043,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69591,
    "c": 0.1338,
    "h": 110.4
  },
  "luminance": 0.34454
}

Semantic roles & 50–950 ramp

primary
#A2A431
secondary
#7372BF
accent
#4ADD4D
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A431

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

Preview Lab → · Contrast checker → · Palette generator →

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