#A2AC42#A2AC42

#A2AC42 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 71.5% C 0.130 H 114.3°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#A2AC42
RGBrgb(162, 172, 66)
HSLhsl(66, 45%, 47%)
HSVhsv(66, 62%, 67%)
CMYKcmyk(5.8%, 0%, 61.6%, 32.5%)
CIE-LABlab(67.71, -17.99, 51.77)
CIE-LCHlch(67.71, 54.81, 109.17°)
OKLaboklab(71.54% -0.0534 0.1185)
OKLCHoklch(71.54% 0.13 114.3)
XYZxyz(30.6369, 37.5803, 10.7930)
Luminance0.3758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AC42 #4C42AC
analogous
#AC8142 #A2AC42 #6DAC42
triadic
#A2AC42 #42A2AC #AC42A2
tetradic
#A2AC42 #42AC81 #4C42AC #AC426D
square
#A2AC42 #42AC81 #4C42AC #AC426D
split-complementary
#A2AC42 #426DAC #8142AC
monochromatic
#4F5420 #788031 #A2AC42 #BCC567 #CFD693

Accessibility & contrast

On white

2.47
#A2AC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#A2AC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AC42
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AC42#FFFFFF#000000##000000
##A2AC421.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A435
Deuteranopia (green-blind)
#B7A649
Tritanopia (blue-blind)
#ACA296
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a2ac42;
/* rgb */ color: rgb(162, 172, 66);
/* oklch */ color: oklch(71.5% 0.130 114.3);
Tailwind
colors: {
  custom: {
    50: '#c0c47b',
    500: '#a2ac42',
    950: '#000000',
  },
}
SCSS
$custom: #a2ac42;
$custom-light: #c0c47b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ac42",
  "rgb": {
    "r": 162,
    "g": 172,
    "b": 66
  },
  "hsl": {
    "h": 65.66,
    "s": 44.538,
    "l": 46.667
  },
  "oklch": {
    "l": 0.71543,
    "c": 0.12997,
    "h": 114.3
  },
  "luminance": 0.3758
}

Semantic roles & 50–950 ramp

primary
#A2AC42
secondary
#8E89C1
accent
#54D460
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A2AC42

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

Preview Lab → · Contrast checker → · Palette generator →

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