#A2AC1C#A2AC1C

#A2AC1C is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.3% C 0.153 H 113.9°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#A2AC1C
RGBrgb(162, 172, 28)
HSLhsl(64, 72%, 39%)
HSVhsv(64, 84%, 67%)
CMYKcmyk(5.8%, 0%, 83.7%, 32.5%)
CIE-LABlab(67.48, -19.91, 64.90)
CIE-LCHlch(67.48, 67.88, 107.06°)
OKLaboklab(71.29% -0.0621 0.1399)
OKLCHoklch(71.29% 0.153 113.9)
XYZxyz(29.8634, 37.2709, 6.7192)
Luminance0.3727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AC1C #261CAC
analogous
#AC6E1C #A2AC1C #5AAC1C
triadic
#A2AC1C #1CA2AC #AC1CA2
tetradic
#A2AC1C #1CAC6E #261CAC #AC1C5A
square
#A2AC1C #1CAC6E #261CAC #AC1C5A
split-complementary
#A2AC1C #1C5AAC #6E1CAC
monochromatic
#3F430B #707713 #A2AC1C #D0DC29 #DBE55E

Accessibility & contrast

On white

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

On black

8.45
#A2AC1C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AC1C
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AC1C#FFFFFF#000000##000000
##A2AC1C1.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B9A62C
Tritanopia (blue-blind)
#ADA193
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a2ac1c;
/* rgb */ color: rgb(162, 172, 28);
/* oklch */ color: oklch(71.3% 0.153 113.9);
Tailwind
colors: {
  custom: {
    50: '#c1c468',
    500: '#a2ac1c',
    950: '#000000',
  },
}
SCSS
$custom: #a2ac1c;
$custom-light: #c1c468;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ac1c",
  "rgb": {
    "r": 162,
    "g": 172,
    "b": 28
  },
  "hsl": {
    "h": 64.167,
    "s": 72,
    "l": 39.216
  },
  "oklch": {
    "l": 0.71285,
    "c": 0.15312,
    "h": 113.9
  },
  "luminance": 0.3727
}

Semantic roles & 50–950 ramp

primary
#A2AC1C
secondary
#635BC9
accent
#39EF46
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A2AC1C

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

Preview Lab → · Contrast checker → · Palette generator →

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