#A2AC31#A2AC31

#A2AC31 is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.4% C 0.142 H 114.1°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#A2AC31
RGBrgb(162, 172, 49)
HSLhsl(65, 56%, 43%)
HSVhsv(65, 72%, 67%)
CMYKcmyk(5.8%, 0%, 71.5%, 32.5%)
CIE-LABlab(67.58, -19.05, 58.52)
CIE-LCHlch(67.58, 61.54, 108.03°)
OKLaboklab(71.4% -0.0581 0.1301)
OKLCHoklch(71.4% 0.142 114.1)
XYZxyz(30.2081, 37.4088, 8.5344)
Luminance0.3741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AC31 #3B31AC
analogous
#AC7831 #A2AC31 #64AC31
triadic
#A2AC31 #31A2AC #AC31A2
tetradic
#A2AC31 #31AC78 #3B31AC #AC3164
square
#A2AC31 #31AC78 #3B31AC #AC3164
split-complementary
#A2AC31 #3164AC #7831AC
monochromatic
#484D16 #757C23 #A2AC31 #C2CC4E #D3DA7D

Accessibility & contrast

On white

2.48
#A2AC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#A2AC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AC31
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AC31#FFFFFF#000000##000000
##A2AC311.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A41B
Deuteranopia (green-blind)
#B8A63B
Tritanopia (blue-blind)
#ADA294
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a2ac31;
/* rgb */ color: rgb(162, 172, 49);
/* oklch */ color: oklch(71.4% 0.142 114.1);
Tailwind
colors: {
  custom: {
    50: '#c1c472',
    500: '#a2ac31',
    950: '#000000',
  },
}
SCSS
$custom: #a2ac31;
$custom-light: #c1c472;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ac31",
  "rgb": {
    "r": 162,
    "g": 172,
    "b": 49
  },
  "hsl": {
    "h": 64.878,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.714,
    "c": 0.14244,
    "h": 114.1
  },
  "luminance": 0.37408
}

Semantic roles & 50–950 ramp

primary
#A2AC31
secondary
#7C76C3
accent
#49DF55
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2AC31

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

Preview Lab → · Contrast checker → · Palette generator →

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