#ACC333#ACC333

#ACC333 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#ACC333
RGBrgb(172, 195, 51)
HSLhsl(70, 59%, 48%)
HSVhsv(70, 74%, 76%)
CMYKcmyk(11.8%, 0%, 73.8%, 23.5%)
CIE-LABlab(74.85, -26.10, 65.07)
CIE-LCHlch(74.85, 70.11, 111.85°)
OKLaboklab(77.43% -0.078 0.1439)
OKLCHoklch(77.43% 0.164 118.4)
XYZxyz(37.1267, 48.0402, 10.4482)
Luminance0.4804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC333 #4A33C3
analogous
#C39233 #ACC333 #64C333
triadic
#ACC333 #33ACC3 #C333AC
tetradic
#ACC333 #33C392 #4A33C3 #C33364
square
#ACC333 #33C392 #4A33C3 #C33364
split-complementary
#ACC333 #3364C3 #9233C3
monochromatic
#56621A #819226 #ACC333 #C2D55E #D4E28F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ACC333#FFFFFF#000000##000000
##ACC3331.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)
#D0B814
Deuteranopia (green-blind)
#CDB940
Tritanopia (blue-blind)
#B6B8A8
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #acc333;
/* rgb */ color: rgb(172, 195, 51);
/* oklch */ color: oklch(77.4% 0.164 118.4);
Tailwind
colors: {
  custom: {
    50: '#c8d575',
    500: '#acc333',
    950: '#000000',
  },
}
SCSS
$custom: #acc333;
$custom-light: #c8d575;
$custom-dark: #000000;
JSON
{
  "hex": "#acc333",
  "rgb": {
    "r": 172,
    "g": 195,
    "b": 51
  },
  "hsl": {
    "h": 69.583,
    "s": 58.537,
    "l": 48.235
  },
  "oklch": {
    "l": 0.77427,
    "c": 0.16371,
    "h": 118.4
  },
  "luminance": 0.4804
}

Semantic roles & 50–950 ramp

primary
#ACC333
secondary
#9186CC
accent
#46E25F
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141409
muted
#82837B

Preview Lab

Preview with #ACC333

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

Preview Lab → · Contrast checker → · Palette generator →

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