#A2AC52#A2AC52

#A2AC52 is a light, moderate yellow. Relative luminance 0.378; OKLCH L 71.7% C 0.115 H 114.6°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#A2AC52
RGBrgb(162, 172, 82)
HSLhsl(67, 35%, 50%)
HSVhsv(67, 52%, 67%)
CMYKcmyk(5.8%, 0%, 52.3%, 32.5%)
CIE-LABlab(67.87, -16.68, 44.55)
CIE-LCHlch(67.87, 47.57, 110.53°)
OKLaboklab(71.72% -0.048 0.1049)
OKLCHoklch(71.72% 0.115 114.6)
XYZxyz(31.1763, 37.7961, 13.6340)
Luminance0.3780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AC52 #5C52AC
analogous
#AC8952 #A2AC52 #75AC52
triadic
#A2AC52 #52A2AC #AC52A2
tetradic
#A2AC52 #52AC89 #5C52AC #AC5275
square
#A2AC52 #52AC89 #5C52AC #AC5275
split-complementary
#A2AC52 #5275AC #8952AC
monochromatic
#54592A #7B833E #A2AC52 #B8C07B #CFD4A5

Accessibility & contrast

On white

2.45
#A2AC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#A2AC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AC52
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AC52#FFFFFF#000000##000000
##A2AC521.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A549
Deuteranopia (green-blind)
#B6A657
Tritanopia (blue-blind)
#ABA398
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a2ac52;
/* rgb */ color: rgb(162, 172, 82);
/* oklch */ color: oklch(71.7% 0.115 114.6);
Tailwind
colors: {
  custom: {
    50: '#bfc485',
    500: '#a2ac52',
    950: '#000000',
  },
}
SCSS
$custom: #a2ac52;
$custom-light: #bfc485;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ac52",
  "rgb": {
    "r": 162,
    "g": 172,
    "b": 82
  },
  "hsl": {
    "h": 66.667,
    "s": 35.433,
    "l": 49.804
  },
  "oklch": {
    "l": 0.71723,
    "c": 0.11537,
    "h": 114.6
  },
  "luminance": 0.37796
}

Semantic roles & 50–950 ramp

primary
#A2AC52
secondary
#9D99C1
accent
#5CCB69
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #A2AC52

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

Preview Lab → · Contrast checker → · Palette generator →

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