#AACC31#AACC31

#AACC31 is a light, vivid yellow-green. Relative luminance 0.520; OKLCH L 79.3% C 0.176 H 121.7°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#AACC31
RGBrgb(170, 204, 49)
HSLhsl(73, 61%, 50%)
HSVhsv(73, 76%, 80%)
CMYKcmyk(16.7%, 0%, 76%, 20%)
CIE-LABlab(77.25, -31.28, 67.94)
CIE-LCHlch(77.25, 74.79, 114.72°)
OKLaboklab(79.33% -0.0923 0.1497)
OKLCHoklch(79.33% 0.176 121.7)
XYZxyz(38.7254, 51.9535, 10.8930)
Luminance0.5195 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AACC31 #5331CC
analogous
#CCA031 #AACC31 #5DCC31
triadic
#AACC31 #31AACC #CC31AA
tetradic
#AACC31 #31CCA0 #5331CC #CC315D
square
#AACC31 #31CCA0 #5331CC #CC315D
split-complementary
#AACC31 #315DCC #A031CC
monochromatic
#586919 #819B25 #AACC31 #BFD961 #D3E592

Accessibility & contrast

On white

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

On black

11.39
#AACC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AACC31
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AACC31#FFFFFF#000000##000000
##AACC311.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9BF06
Deuteranopia (green-blind)
#D4BF40
Tritanopia (blue-blind)
#B3C1AF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #aacc31;
/* rgb */ color: rgb(170, 204, 49);
/* oklch */ color: oklch(79.3% 0.176 121.7);
Tailwind
colors: {
  custom: {
    50: '#c7db75',
    500: '#aacc31',
    950: '#000000',
  },
}
SCSS
$custom: #aacc31;
$custom-light: #c7db75;
$custom-dark: #000000;
JSON
{
  "hex": "#aacc31",
  "rgb": {
    "r": 170,
    "g": 204,
    "b": 49
  },
  "hsl": {
    "h": 73.161,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79325,
    "c": 0.17586,
    "h": 121.7
  },
  "luminance": 0.51954
}

Semantic roles & 50–950 ramp

primary
#AACC31
secondary
#3D2E73
accent
#43E467
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141509
muted
#83847D

Preview Lab

Preview with #AACC31

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

Preview Lab → · Contrast checker → · Palette generator →

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