#AAC342#AAC342

#AAC342 is a light, vivid yellow-green. Relative luminance 0.480; OKLCH L 77.4% C 0.155 H 119.6°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#AAC342
RGBrgb(170, 195, 66)
HSLhsl(72, 52%, 51%)
HSVhsv(72, 66%, 76%)
CMYKcmyk(12.8%, 0%, 66.2%, 23.5%)
CIE-LABlab(74.81, -26.07, 59.46)
CIE-LCHlch(74.81, 64.93, 113.67°)
OKLaboklab(77.39% -0.0764 0.1346)
OKLCHoklch(77.39% 0.155 119.6)
XYZxyz(37.0767, 47.9698, 12.4591)
Luminance0.4797 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAC342 #5B42C3
analogous
#C39B42 #AAC342 #69C342
triadic
#AAC342 #42AAC3 #C342AA
tetradic
#AAC342 #42C39B #5B42C3 #C34269
square
#AAC342 #42C39B #5B42C3 #C34269
split-complementary
#AAC342 #4269C3 #9B42C3
monochromatic
#5B6921 #849830 #AAC342 #BFD270 #D4E09F

Accessibility & contrast

On white

1.98
#AAC342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#AAC342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAC342
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAC342#FFFFFF#000000##000000
##AAC3421.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB830
Deuteranopia (green-blind)
#CCB84C
Tritanopia (blue-blind)
#B3B9A9
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #aac342;
/* rgb */ color: rgb(170, 195, 66);
/* oklch */ color: oklch(77.4% 0.155 119.6);
Tailwind
colors: {
  custom: {
    50: '#c6d57d',
    500: '#aac342',
    950: '#000000',
  },
}
SCSS
$custom: #aac342;
$custom-light: #c6d57d;
$custom-dark: #000000;
JSON
{
  "hex": "#aac342",
  "rgb": {
    "r": 170,
    "g": 195,
    "b": 66
  },
  "hsl": {
    "h": 71.628,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.77387,
    "c": 0.15476,
    "h": 119.6
  },
  "luminance": 0.4797
}

Semantic roles & 50–950 ramp

primary
#AAC342
secondary
#9F94CD
accent
#4DDB68
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #AAC342

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

Preview Lab → · Contrast checker → · Palette generator →

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