#AAC840#AAC840

#AAC840 is a light, vivid yellow-green. Relative luminance 0.502; OKLCH L 78.5% C 0.162 H 121.0°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#AAC840
RGBrgb(170, 200, 64)
HSLhsl(73, 55%, 52%)
HSVhsv(73, 68%, 78%)
CMYKcmyk(15%, 0%, 68%, 21.6%)
CIE-LABlab(76.21, -28.59, 61.69)
CIE-LCHlch(76.21, 67.99, 114.87°)
OKLaboklab(78.51% -0.0836 0.1389)
OKLCHoklch(78.51% 0.162 121)
XYZxyz(38.1578, 50.2248, 12.5336)
Luminance0.5022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAC840 #5E40C8
analogous
#C8A240 #AAC840 #66C840
triadic
#AAC840 #40AAC8 #C840AA
tetradic
#AAC840 #40C8A2 #5E40C8 #C84066
square
#AAC840 #40C8A2 #5E40C8 #C84066
split-complementary
#AAC840 #4066C8 #A240C8
monochromatic
#5D6E20 #859D2D #AAC840 #BFD670 #D4E39F

Accessibility & contrast

On white

1.90
#AAC840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.05
#AAC840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAC840
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAC840#FFFFFF#000000##000000
##AAC8401.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC2B
Deuteranopia (green-blind)
#D0BC4B
Tritanopia (blue-blind)
#B3BEAD
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #aac840;
/* rgb */ color: rgb(170, 200, 64);
/* oklch */ color: oklch(78.5% 0.162 121.0);
Tailwind
colors: {
  custom: {
    50: '#c6d87c',
    500: '#aac840',
    950: '#000000',
  },
}
SCSS
$custom: #aac840;
$custom-light: #c6d87c;
$custom-dark: #000000;
JSON
{
  "hex": "#aac840",
  "rgb": {
    "r": 170,
    "g": 200,
    "b": 64
  },
  "hsl": {
    "h": 73.235,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.7851,
    "c": 0.16216,
    "h": 121
  },
  "luminance": 0.50225
}

Semantic roles & 50–950 ramp

primary
#AAC840
secondary
#433577
accent
#49DF6A
background
#FEFEFB
surface
#FAFBF2
border
#D3D4CC
text
#13140A
muted
#83837D

Preview Lab

Preview with #AAC840

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

Preview Lab → · Contrast checker → · Palette generator →

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