#AAC831#AAC831

#AAC831 is a light, vivid yellow-green. Relative luminance 0.501; OKLCH L 78.4% C 0.171 H 120.6°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#AAC831
RGBrgb(170, 200, 49)
HSLhsl(72, 61%, 49%)
HSVhsv(72, 76%, 78%)
CMYKcmyk(15%, 0%, 75.5%, 21.6%)
CIE-LABlab(76.12, -29.40, 66.87)
CIE-LCHlch(76.12, 73.05, 113.73°)
OKLaboklab(78.41% -0.0871 0.1475)
OKLCHoklch(78.41% 0.171 120.6)
XYZxyz(37.7869, 50.0764, 10.5802)
Luminance0.5008 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAC831 #4F31C8
analogous
#C89B31 #AAC831 #5EC831
triadic
#AAC831 #31AAC8 #C831AA
tetradic
#AAC831 #31C89B #4F31C8 #C8315E
square
#AAC831 #31C89B #4F31C8 #C8315E
split-complementary
#AAC831 #315EC8 #9B31C8
monochromatic
#566619 #809725 #AAC831 #C0D85F #D3E490

Accessibility & contrast

On white

1.91
#AAC831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.02
#AAC831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAC831
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAC831#FFFFFF#000000##000000
##AAC8311.001.9111.0211.02
#FFFFFF1.911.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC0A
Deuteranopia (green-blind)
#D1BC3F
Tritanopia (blue-blind)
#B4BDAC
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #aac831;
/* rgb */ color: rgb(170, 200, 49);
/* oklch */ color: oklch(78.4% 0.171 120.6);
Tailwind
colors: {
  custom: {
    50: '#c7d875',
    500: '#aac831',
    950: '#000000',
  },
}
SCSS
$custom: #aac831;
$custom-light: #c7d875;
$custom-dark: #000000;
JSON
{
  "hex": "#aac831",
  "rgb": {
    "r": 170,
    "g": 200,
    "b": 49
  },
  "hsl": {
    "h": 71.921,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.78408,
    "c": 0.17128,
    "h": 120.6
  },
  "luminance": 0.50076
}

Semantic roles & 50–950 ramp

primary
#AAC831
secondary
#3A2D70
accent
#44E464
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#131409
muted
#83837D

Preview Lab

Preview with #AAC831

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

Preview Lab → · Contrast checker → · Palette generator →

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