#ACC328#ACC328

#ACC328 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.4% C 0.169 H 118.2°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#ACC328
RGBrgb(172, 195, 40)
HSLhsl(69, 66%, 46%)
HSVhsv(69, 79%, 76%)
CMYKcmyk(11.8%, 0%, 79.5%, 23.5%)
CIE-LABlab(74.80, -26.57, 68.41)
CIE-LCHlch(74.80, 73.39, 111.23°)
OKLaboklab(77.37% -0.0801 0.1491)
OKLCHoklch(77.37% 0.169 118.2)
XYZxyz(36.9123, 47.9544, 9.3187)
Luminance0.4795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC328 #3F28C3
analogous
#C38C28 #ACC328 #5EC328
triadic
#ACC328 #28ACC3 #C328AC
tetradic
#ACC328 #28C38C #3F28C3 #C3285E
square
#ACC328 #28C38C #3F28C3 #C3285E
split-complementary
#ACC328 #285EC3 #8C28C3
monochromatic
#525D13 #7F901E #ACC328 #C6DB4E #D6E580

Accessibility & contrast

On white

1.98
#ACC328 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#ACC328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC328
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC328#FFFFFF#000000##000000
##ACC3281.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #acc328;
/* rgb */ color: rgb(172, 195, 40);
/* oklch */ color: oklch(77.4% 0.169 118.2);
Tailwind
colors: {
  custom: {
    50: '#c9d570',
    500: '#acc328',
    950: '#000000',
  },
}
SCSS
$custom: #acc328;
$custom-light: #c9d570;
$custom-dark: #000000;
JSON
{
  "hex": "#acc328",
  "rgb": {
    "r": 172,
    "g": 195,
    "b": 40
  },
  "hsl": {
    "h": 68.903,
    "s": 65.957,
    "l": 46.078
  },
  "oklch": {
    "l": 0.77366,
    "c": 0.16929,
    "h": 118.2
  },
  "luminance": 0.47954
}

Semantic roles & 50–950 ramp

primary
#ACC328
secondary
#8679CE
accent
#3FE958
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141408
muted
#82837B

Preview Lab

Preview with #ACC328

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

Preview Lab → · Contrast checker → · Palette generator →

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