#ACC332#ACC332

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

Color values

HEX#ACC332
RGBrgb(172, 195, 50)
HSLhsl(70, 59%, 48%)
HSVhsv(70, 74%, 76%)
CMYKcmyk(11.8%, 0%, 74.4%, 23.5%)
CIE-LABlab(74.84, -26.15, 65.40)
CIE-LCHlch(74.84, 70.43, 111.79°)
OKLaboklab(77.42% -0.0782 0.1445)
OKLCHoklch(77.42% 0.164 118.4)
XYZxyz(37.1049, 48.0315, 10.3333)
Luminance0.4803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC332 #4932C3
analogous
#C39132 #ACC332 #64C332
triadic
#ACC332 #32ACC3 #C332AC
tetradic
#ACC332 #32C391 #4932C3 #C33264
square
#ACC332 #32C391 #4932C3 #C33264
split-complementary
#ACC332 #3264C3 #9132C3
monochromatic
#566219 #819226 #ACC332 #C2D55D #D5E28E

Accessibility & contrast

On white

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

On black

10.61
#ACC332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC332
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC332#FFFFFF#000000##000000
##ACC3321.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B811
Deuteranopia (green-blind)
#CEB93F
Tritanopia (blue-blind)
#B6B8A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #acc332;
/* rgb */ color: rgb(172, 195, 50);
/* oklch */ color: oklch(77.4% 0.164 118.4);
Tailwind
colors: {
  custom: {
    50: '#c8d575',
    500: '#acc332',
    950: '#000000',
  },
}
SCSS
$custom: #acc332;
$custom-light: #c8d575;
$custom-dark: #000000;
JSON
{
  "hex": "#acc332",
  "rgb": {
    "r": 172,
    "g": 195,
    "b": 50
  },
  "hsl": {
    "h": 69.517,
    "s": 59.184,
    "l": 48.039
  },
  "oklch": {
    "l": 0.77421,
    "c": 0.16427,
    "h": 118.4
  },
  "luminance": 0.48031
}

Semantic roles & 50–950 ramp

primary
#ACC332
secondary
#9085CC
accent
#45E25E
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141409
muted
#82837B

Preview Lab

Preview with #ACC332

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

Preview Lab → · Contrast checker → · Palette generator →

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