#AAC340#AAC340

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

Color values

HEX#AAC340
RGBrgb(170, 195, 64)
HSLhsl(71, 52%, 51%)
HSVhsv(71, 67%, 76%)
CMYKcmyk(12.8%, 0%, 67.2%, 23.5%)
CIE-LABlab(74.79, -26.20, 60.24)
CIE-LCHlch(74.79, 65.69, 113.50°)
OKLaboklab(77.37% -0.077 0.1359)
OKLCHoklch(77.37% 0.156 119.5)
XYZxyz(37.0187, 47.9466, 12.1539)
Luminance0.4795 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAC340 #5940C3
analogous
#C39A40 #AAC340 #68C340
triadic
#AAC340 #40AAC3 #C340AA
tetradic
#AAC340 #40C39A #5940C3 #C34068
square
#AAC340 #40C39A #5940C3 #C34068
split-complementary
#AAC340 #4068C3 #9A40C3
monochromatic
#5A6821 #83972F #AAC340 #BFD26F #D3E09D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAC340#FFFFFF#000000##000000
##AAC3401.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)
#CFB82D
Deuteranopia (green-blind)
#CCB84A
Tritanopia (blue-blind)
#B4B9A9
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #aac340;
/* rgb */ color: rgb(170, 195, 64);
/* oklch */ color: oklch(77.4% 0.156 119.5);
Tailwind
colors: {
  custom: {
    50: '#c6d57c',
    500: '#aac340',
    950: '#000000',
  },
}
SCSS
$custom: #aac340;
$custom-light: #c6d57c;
$custom-dark: #000000;
JSON
{
  "hex": "#aac340",
  "rgb": {
    "r": 170,
    "g": 195,
    "b": 64
  },
  "hsl": {
    "h": 71.45,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.7737,
    "c": 0.15619,
    "h": 119.5
  },
  "luminance": 0.47946
}

Semantic roles & 50–950 ramp

primary
#AAC340
secondary
#9D92CC
accent
#4CDC68
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #AAC340

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

Preview Lab → · Contrast checker → · Palette generator →

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