#AACA40#AACA40

#AACA40 is a light, vivid yellow-green. Relative luminance 0.512; OKLCH L 79.0% C 0.165 H 121.6°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#AACA40
RGBrgb(170, 202, 64)
HSLhsl(74, 57%, 52%)
HSVhsv(74, 68%, 79%)
CMYKcmyk(15.8%, 0%, 68.3%, 20.8%)
CIE-LABlab(76.77, -29.54, 62.27)
CIE-LCHlch(76.77, 68.92, 115.38°)
OKLaboklab(78.97% -0.0862 0.1402)
OKLCHoklch(78.97% 0.165 121.6)
XYZxyz(38.6240, 51.1573, 12.6890)
Luminance0.5116 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AACA40 #6040CA
analogous
#CAA540 #AACA40 #65CA40
triadic
#AACA40 #40AACA #CA40AA
tetradic
#AACA40 #40CAA5 #6040CA #CA4065
square
#AACA40 #40CAA5 #6040CA #CA4065
split-complementary
#AACA40 #4065CA #A540CA
monochromatic
#5E701F #85A02C #AACA40 #BFD770 #D5E5A0

Accessibility & contrast

On white

1.87
#AACA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#AACA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AACA40
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AACA40#FFFFFF#000000##000000
##AACA401.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2B
Deuteranopia (green-blind)
#D2BE4B
Tritanopia (blue-blind)
#B3C0AE
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #aaca40;
/* rgb */ color: rgb(170, 202, 64);
/* oklch */ color: oklch(79.0% 0.165 121.6);
Tailwind
colors: {
  custom: {
    50: '#c7da7d',
    500: '#aaca40',
    950: '#000000',
  },
}
SCSS
$custom: #aaca40;
$custom-light: #c7da7d;
$custom-dark: #000000;
JSON
{
  "hex": "#aaca40",
  "rgb": {
    "r": 170,
    "g": 202,
    "b": 64
  },
  "hsl": {
    "h": 73.913,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.78968,
    "c": 0.16457,
    "h": 121.6
  },
  "luminance": 0.51157
}

Semantic roles & 50–950 ramp

primary
#AACA40
secondary
#45357A
accent
#48E06B
background
#FEFEFB
surface
#FAFBF2
border
#D3D4CC
text
#13140A
muted
#83837D

Preview Lab

Preview with #AACA40

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

Preview Lab → · Contrast checker → · Palette generator →

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