#A2AC1F#A2AC1F

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

Color values

HEX#A2AC1F
RGBrgb(162, 172, 31)
HSLhsl(64, 69%, 40%)
HSVhsv(64, 82%, 67%)
CMYKcmyk(5.8%, 0%, 82%, 32.5%)
CIE-LABlab(67.49, -19.82, 64.14)
CIE-LCHlch(67.49, 67.14, 107.17°)
OKLaboklab(71.3% -0.0617 0.1388)
OKLCHoklch(71.3% 0.152 114)
XYZxyz(29.9011, 37.2860, 6.9178)
Luminance0.3729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AC1F #291FAC
analogous
#AC6F1F #A2AC1F #5CAC1F
triadic
#A2AC1F #1FA2AC #AC1FA2
tetradic
#A2AC1F #1FAC6F #291FAC #AC1F5C
square
#A2AC1F #1FAC6F #291FAC #AC1F5C
split-complementary
#A2AC1F #1F5CAC #6F1FAC
monochromatic
#40440C #717816 #A2AC1F #CDD92F #DAE363

Accessibility & contrast

On white

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

On black

8.46
#A2AC1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AC1F
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AC1F#FFFFFF#000000##000000
##A2AC1F1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2ac1f;
/* rgb */ color: rgb(162, 172, 31);
/* oklch */ color: oklch(71.3% 0.152 114.0);
Tailwind
colors: {
  custom: {
    50: '#c1c469',
    500: '#a2ac1f',
    950: '#000000',
  },
}
SCSS
$custom: #a2ac1f;
$custom-light: #c1c469;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ac1f",
  "rgb": {
    "r": 162,
    "g": 172,
    "b": 31
  },
  "hsl": {
    "h": 64.255,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.71298,
    "c": 0.15192,
    "h": 114
  },
  "luminance": 0.37285
}

Semantic roles & 50–950 ramp

primary
#A2AC1F
secondary
#675FC8
accent
#3CEC48
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2AC1F

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

Preview Lab → · Contrast checker → · Palette generator →

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