#A2AC2F#A2AC2F

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

Color values

HEX#A2AC2F
RGBrgb(162, 172, 47)
HSLhsl(65, 57%, 43%)
HSVhsv(65, 73%, 67%)
CMYKcmyk(5.8%, 0%, 72.7%, 32.5%)
CIE-LABlab(67.57, -19.15, 59.23)
CIE-LCHlch(67.57, 62.25, 107.92°)
OKLaboklab(71.39% -0.0585 0.1312)
OKLCHoklch(71.39% 0.144 114)
XYZxyz(30.1668, 37.3923, 8.3171)
Luminance0.3739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AC2F #392FAC
analogous
#AC772F #A2AC2F #63AC2F
triadic
#A2AC2F #2FA2AC #AC2FA2
tetradic
#A2AC2F #2FAC77 #392FAC #AC2F63
square
#A2AC2F #2FAC77 #392FAC #AC2F63
split-complementary
#A2AC2F #2F63AC #772FAC
monochromatic
#474C15 #757C22 #A2AC2F #C3CE4B #D3DB7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2AC2F#FFFFFF#000000##000000
##A2AC2F1.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)
#B9A317
Deuteranopia (green-blind)
#B8A639
Tritanopia (blue-blind)
#ADA294
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a2ac2f;
/* rgb */ color: rgb(162, 172, 47);
/* oklch */ color: oklch(71.4% 0.144 114.0);
Tailwind
colors: {
  custom: {
    50: '#c1c471',
    500: '#a2ac2f',
    950: '#000000',
  },
}
SCSS
$custom: #a2ac2f;
$custom-light: #c1c471;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ac2f",
  "rgb": {
    "r": 162,
    "g": 172,
    "b": 47
  },
  "hsl": {
    "h": 64.8,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.71386,
    "c": 0.1437,
    "h": 114
  },
  "luminance": 0.37392
}

Semantic roles & 50–950 ramp

primary
#A2AC2F
secondary
#7A74C3
accent
#47E054
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2AC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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