#AAC031#AAC031

#AAC031 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 76.6% C 0.162 H 118.2°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#AAC031
RGBrgb(170, 192, 49)
HSLhsl(69, 59%, 47%)
HSVhsv(69, 74%, 75%)
CMYKcmyk(11.5%, 0%, 74.5%, 24.7%)
CIE-LABlab(73.85, -25.57, 64.74)
CIE-LCHlch(73.85, 69.61, 111.55°)
OKLaboklab(76.58% -0.0766 0.143)
OKLCHoklch(76.58% 0.162 118.2)
XYZxyz(35.9824, 46.4674, 9.9787)
Luminance0.4647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAC031 #4731C0
analogous
#C08F31 #AAC031 #62C031
triadic
#AAC031 #31AAC0 #C031AA
tetradic
#AAC031 #31C08F #4731C0 #C03162
square
#AAC031 #31C08F #4731C0 #C03162
split-complementary
#AAC031 #3162C0 #8F31C0
monochromatic
#545E18 #7F8F25 #AAC031 #C2D559 #D4E18A

Accessibility & contrast

On white

2.04
#AAC031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#AAC031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAC031
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAC031#FFFFFF#000000##000000
##AAC0311.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB510
Deuteranopia (green-blind)
#CBB63E
Tritanopia (blue-blind)
#B4B5A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #aac031;
/* rgb */ color: rgb(170, 192, 49);
/* oklch */ color: oklch(76.6% 0.162 118.2);
Tailwind
colors: {
  custom: {
    50: '#c7d374',
    500: '#aac031',
    950: '#000000',
  },
}
SCSS
$custom: #aac031;
$custom-light: #c7d374;
$custom-dark: #000000;
JSON
{
  "hex": "#aac031",
  "rgb": {
    "r": 170,
    "g": 192,
    "b": 49
  },
  "hsl": {
    "h": 69.231,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.76581,
    "c": 0.16217,
    "h": 118.2
  },
  "luminance": 0.46467
}

Semantic roles & 50–950 ramp

primary
#AAC031
secondary
#8D82CB
accent
#45E35D
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #AAC031

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

Preview Lab → · Contrast checker → · Palette generator →

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