#A2AC2C#A2AC2C

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

Color values

HEX#A2AC2C
RGBrgb(162, 172, 44)
HSLhsl(65, 59%, 42%)
HSVhsv(65, 74%, 67%)
CMYKcmyk(5.8%, 0%, 74.4%, 32.5%)
CIE-LABlab(67.55, -19.30, 60.26)
CIE-LCHlch(67.55, 63.27, 107.76°)
OKLaboklab(71.37% -0.0592 0.1329)
OKLCHoklch(71.37% 0.145 114)
XYZxyz(30.1083, 37.3689, 8.0092)
Luminance0.3737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AC2C #362CAC
analogous
#AC762C #A2AC2C #62AC2C
triadic
#A2AC2C #2CA2AC #AC2CA2
tetradic
#A2AC2C #2CAC76 #362CAC #AC2C62
square
#A2AC2C #2CAC76 #362CAC #AC2C62
split-complementary
#A2AC2C #2C62AC #762CAC
monochromatic
#464B13 #747B20 #A2AC2C #C5D046 #D4DC76

Accessibility & contrast

On white

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

On black

8.47
#A2AC2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AC2C
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AC2C#FFFFFF#000000##000000
##A2AC2C1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A310
Deuteranopia (green-blind)
#B8A637
Tritanopia (blue-blind)
#ADA294
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a2ac2c;
/* rgb */ color: rgb(162, 172, 44);
/* oklch */ color: oklch(71.4% 0.145 114.0);
Tailwind
colors: {
  custom: {
    50: '#c1c46f',
    500: '#a2ac2c',
    950: '#000000',
  },
}
SCSS
$custom: #a2ac2c;
$custom-light: #c1c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ac2c",
  "rgb": {
    "r": 162,
    "g": 172,
    "b": 44
  },
  "hsl": {
    "h": 64.688,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71367,
    "c": 0.14547,
    "h": 114
  },
  "luminance": 0.37368
}

Semantic roles & 50–950 ramp

primary
#A2AC2C
secondary
#7770C4
accent
#45E252
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2AC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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