#AACC42#AACC42

#AACC42 is a light, vivid yellow-green. Relative luminance 0.521; OKLCH L 79.4% C 0.166 H 122.2°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#AACC42
RGBrgb(170, 204, 66)
HSLhsl(75, 58%, 53%)
HSVhsv(75, 68%, 80%)
CMYKcmyk(16.7%, 0%, 67.6%, 20%)
CIE-LABlab(77.36, -30.36, 62.09)
CIE-LCHlch(77.36, 69.12, 116.06°)
OKLaboklab(79.44% -0.0883 0.1401)
OKLCHoklch(79.44% 0.166 122.2)
XYZxyz(39.1543, 52.1250, 13.1516)
Luminance0.5212 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AACC42 #6442CC
analogous
#CCA942 #AACC42 #65CC42
triadic
#AACC42 #42AACC #CC42AA
tetradic
#AACC42 #42CCA9 #6442CC #CC4265
square
#AACC42 #42CCA9 #6442CC #CC4265
split-complementary
#AACC42 #4265CC #A942CC
monochromatic
#5F741F #87A42C #AACC42 #C0D972 #D5E6A2

Accessibility & contrast

On white

1.84
#AACC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#AACC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AACC42
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AACC42#FFFFFF#000000##000000
##AACC421.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02D
Deuteranopia (green-blind)
#D4BF4D
Tritanopia (blue-blind)
#B3C2B0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #aacc42;
/* rgb */ color: rgb(170, 204, 66);
/* oklch */ color: oklch(79.4% 0.166 122.2);
Tailwind
colors: {
  custom: {
    50: '#c7db7e',
    500: '#aacc42',
    950: '#000000',
  },
}
SCSS
$custom: #aacc42;
$custom-light: #c7db7e;
$custom-dark: #000000;
JSON
{
  "hex": "#aacc42",
  "rgb": {
    "r": 170,
    "g": 204,
    "b": 66
  },
  "hsl": {
    "h": 74.783,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.79441,
    "c": 0.16561,
    "h": 122.2
  },
  "luminance": 0.52125
}

Semantic roles & 50–950 ramp

primary
#AACC42
secondary
#47357D
accent
#47E16D
background
#FEFEFB
surface
#FAFBF2
border
#D3D4CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #AACC42

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

Preview Lab → · Contrast checker → · Palette generator →

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