#A2AC28#A2AC28

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

Color values

HEX#A2AC28
RGBrgb(162, 172, 40)
HSLhsl(65, 62%, 42%)
HSVhsv(65, 77%, 67%)
CMYKcmyk(5.8%, 0%, 76.7%, 32.5%)
CIE-LABlab(67.53, -19.48, 61.56)
CIE-LCHlch(67.53, 64.56, 107.56°)
OKLaboklab(71.34% -0.0601 0.1349)
OKLCHoklch(71.34% 0.148 114)
XYZxyz(30.0367, 37.3402, 7.6322)
Luminance0.3734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AC28 #3228AC
analogous
#AC7428 #A2AC28 #60AC28
triadic
#A2AC28 #28A2AC #AC28A2
tetradic
#A2AC28 #28AC74 #3228AC #AC2860
square
#A2AC28 #28AC74 #3228AC #AC2860
split-complementary
#A2AC28 #2860AC #7428AC
monochromatic
#444911 #737A1C #A2AC28 #C7D23F #D6DE71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2AC28#FFFFFF#000000##000000
##A2AC281.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)
#B9A304
Deuteranopia (green-blind)
#B9A634
Tritanopia (blue-blind)
#ADA193
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a2ac28;
/* rgb */ color: rgb(162, 172, 40);
/* oklch */ color: oklch(71.3% 0.148 114.0);
Tailwind
colors: {
  custom: {
    50: '#c1c46d',
    500: '#a2ac28',
    950: '#000000',
  },
}
SCSS
$custom: #a2ac28;
$custom-light: #c1c46d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ac28",
  "rgb": {
    "r": 162,
    "g": 172,
    "b": 40
  },
  "hsl": {
    "h": 64.545,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.71343,
    "c": 0.14768,
    "h": 114
  },
  "luminance": 0.3734
}

Semantic roles & 50–950 ramp

primary
#A2AC28
secondary
#726BC5
accent
#42E54F
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A2AC28

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

Preview Lab → · Contrast checker → · Palette generator →

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