#AAC328#AAC328

#AAC328 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.2% C 0.170 H 118.9°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#AAC328
RGBrgb(170, 195, 40)
HSLhsl(70, 66%, 46%)
HSVhsv(70, 79%, 76%)
CMYKcmyk(12.8%, 0%, 79.5%, 23.5%)
CIE-LABlab(74.65, -27.40, 68.23)
CIE-LCHlch(74.65, 73.52, 111.88°)
OKLaboklab(77.22% -0.0823 0.1488)
OKLCHoklch(77.22% 0.17 118.9)
XYZxyz(36.4765, 47.7297, 9.2982)
Luminance0.4773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAC328 #4128C3
analogous
#C38E28 #AAC328 #5DC328
triadic
#AAC328 #28AAC3 #C328AA
tetradic
#AAC328 #28C38E #4128C3 #C3285D
square
#AAC328 #28C38E #4128C3 #C3285D
split-complementary
#AAC328 #285DC3 #8E28C3
monochromatic
#515D13 #7E901E #AAC328 #C4DB4E #D5E580

Accessibility & contrast

On white

1.99
#AAC328 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#AAC328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAC328
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAC328#FFFFFF#000000##000000
##AAC3281.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B800
Deuteranopia (green-blind)
#CDB838
Tritanopia (blue-blind)
#B4B8A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #aac328;
/* rgb */ color: rgb(170, 195, 40);
/* oklch */ color: oklch(77.2% 0.170 118.9);
Tailwind
colors: {
  custom: {
    50: '#c7d570',
    500: '#aac328',
    950: '#000000',
  },
}
SCSS
$custom: #aac328;
$custom-light: #c7d570;
$custom-dark: #000000;
JSON
{
  "hex": "#aac328",
  "rgb": {
    "r": 170,
    "g": 195,
    "b": 40
  },
  "hsl": {
    "h": 69.677,
    "s": 65.957,
    "l": 46.078
  },
  "oklch": {
    "l": 0.77216,
    "c": 0.17007,
    "h": 118.9
  },
  "luminance": 0.47729
}

Semantic roles & 50–950 ramp

primary
#AAC328
secondary
#8779CE
accent
#3FE95A
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141408
muted
#82837B

Preview Lab

Preview with #AAC328

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

Preview Lab → · Contrast checker → · Palette generator →

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