#A2A52C#A2A52C

#A2A52C is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.8% C 0.138 H 110.9°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#A2A52C
RGBrgb(162, 165, 44)
HSLhsl(61, 58%, 41%)
HSVhsv(61, 73%, 65%)
CMYKcmyk(1.8%, 0%, 73.3%, 35.3%)
CIE-LABlab(65.57, -15.73, 58.38)
CIE-LCHlch(65.57, 60.46, 105.08°)
OKLaboklab(69.78% -0.0493 0.1289)
OKLCHoklch(69.78% 0.138 110.9)
XYZxyz(28.8110, 34.7743, 7.5768)
Luminance0.3477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A52C #2F2CA5
analogous
#A56B2C #A2A52C #65A52C
triadic
#A2A52C #2CA2A5 #A52CA2
tetradic
#A2A52C #2CA56B #2F2CA5 #A52C65
square
#A2A52C #2CA56B #2F2CA5 #A52C65
split-complementary
#A2A52C #2C65A5 #6B2CA5
monochromatic
#434412 #73751F #A2A52C #C9CD42 #D7D972

Accessibility & contrast

On white

2.64
#A2A52C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#A2A52C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A52C
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A52C#FFFFFF#000000##000000
##A2A52C1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E14
Deuteranopia (green-blind)
#B3A136
Tritanopia (blue-blind)
#AD9B8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a2a52c;
/* rgb */ color: rgb(162, 165, 44);
/* oklch */ color: oklch(69.8% 0.138 110.9);
Tailwind
colors: {
  custom: {
    50: '#c1bf6e',
    500: '#a2a52c',
    950: '#000000',
  },
}
SCSS
$custom: #a2a52c;
$custom-light: #c1bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a52c",
  "rgb": {
    "r": 162,
    "g": 165,
    "b": 44
  },
  "hsl": {
    "h": 61.488,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.69781,
    "c": 0.138,
    "h": 110.9
  },
  "luminance": 0.34773
}

Semantic roles & 50–950 ramp

primary
#A2A52C
secondary
#6E6CC1
accent
#47E14B
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A52C

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

Preview Lab → · Contrast checker → · Palette generator →

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