#A2AC40#A2AC40

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

Color values

HEX#A2AC40
RGBrgb(162, 172, 64)
HSLhsl(66, 46%, 46%)
HSVhsv(66, 63%, 67%)
CMYKcmyk(5.8%, 0%, 62.8%, 32.5%)
CIE-LABlab(67.69, -18.14, 52.62)
CIE-LCHlch(67.69, 55.66, 109.02°)
OKLaboklab(71.52% -0.054 0.12)
OKLCHoklch(71.52% 0.132 114.2)
XYZxyz(30.5790, 37.5571, 10.4879)
Luminance0.3756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AC40 #4A40AC
analogous
#AC8040 #A2AC40 #6CAC40
triadic
#A2AC40 #40A2AC #AC40A2
tetradic
#A2AC40 #40AC80 #4A40AC #AC406C
square
#A2AC40 #40AC80 #4A40AC #AC406C
split-complementary
#A2AC40 #406CAC #8040AC
monochromatic
#4E531F #787F2F #A2AC40 #BCC564 #CFD691

Accessibility & contrast

On white

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

On black

8.51
#A2AC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AC40
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AC40#FFFFFF#000000##000000
##A2AC401.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A433
Deuteranopia (green-blind)
#B7A647
Tritanopia (blue-blind)
#ACA295
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a2ac40;
/* rgb */ color: rgb(162, 172, 64);
/* oklch */ color: oklch(71.5% 0.132 114.2);
Tailwind
colors: {
  custom: {
    50: '#c0c47a',
    500: '#a2ac40',
    950: '#000000',
  },
}
SCSS
$custom: #a2ac40;
$custom-light: #c0c47a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ac40",
  "rgb": {
    "r": 162,
    "g": 172,
    "b": 64
  },
  "hsl": {
    "h": 65.556,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71524,
    "c": 0.13161,
    "h": 114.2
  },
  "luminance": 0.37557
}

Semantic roles & 50–950 ramp

primary
#A2AC40
secondary
#8C87C1
accent
#52D55F
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A2AC40

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

Preview Lab → · Contrast checker → · Palette generator →

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