#AAC02A#AAC02A

#AAC02A is a light, vivid yellow. Relative luminance 0.464; OKLCH L 76.5% C 0.166 H 118.1°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#AAC02A
RGBrgb(170, 192, 42)
HSLhsl(69, 64%, 46%)
HSVhsv(69, 78%, 75%)
CMYKcmyk(11.5%, 0%, 78.1%, 24.7%)
CIE-LABlab(73.81, -25.88, 66.90)
CIE-LCHlch(73.81, 71.73, 111.15°)
OKLaboklab(76.54% -0.078 0.1463)
OKLCHoklch(76.54% 0.166 118.1)
XYZxyz(35.8460, 46.4128, 9.2602)
Luminance0.4641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAC02A #402AC0
analogous
#C08B2A #AAC02A #5FC02A
triadic
#AAC02A #2AAAC0 #C02AAA
tetradic
#AAC02A #2AC08B #402AC0 #C02A5F
square
#AAC02A #2AC08B #402AC0 #C02A5F
split-complementary
#AAC02A #2A5FC0 #8B2AC0
monochromatic
#515C14 #7E8E1F #AAC02A #C4D84F #D5E381

Accessibility & contrast

On white

2.04
#AAC02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#AAC02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAC02A
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAC02A#FFFFFF#000000##000000
##AAC02A1.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB500
Deuteranopia (green-blind)
#CBB639
Tritanopia (blue-blind)
#B5B5A4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #aac02a;
/* rgb */ color: rgb(170, 192, 42);
/* oklch */ color: oklch(76.5% 0.166 118.1);
Tailwind
colors: {
  custom: {
    50: '#c7d371',
    500: '#aac02a',
    950: '#000000',
  },
}
SCSS
$custom: #aac02a;
$custom-light: #c7d371;
$custom-dark: #000000;
JSON
{
  "hex": "#aac02a",
  "rgb": {
    "r": 170,
    "g": 192,
    "b": 42
  },
  "hsl": {
    "h": 68.8,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.76541,
    "c": 0.1658,
    "h": 118.1
  },
  "luminance": 0.46412
}

Semantic roles & 50–950 ramp

primary
#AAC02A
secondary
#867ACC
accent
#41E759
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141408
muted
#82827B

Preview Lab

Preview with #AAC02A

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

Preview Lab → · Contrast checker → · Palette generator →

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