#ACCA28#ACCA28

#ACCA28 is a light, vivid yellow-green. Relative luminance 0.512; OKLCH L 79.0% C 0.177 H 120.3°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#ACCA28
RGBrgb(172, 202, 40)
HSLhsl(71, 67%, 47%)
HSVhsv(71, 80%, 79%)
CMYKcmyk(14.9%, 0%, 80.2%, 20.8%)
CIE-LABlab(76.78, -29.90, 70.17)
CIE-LCHlch(76.78, 76.28, 113.08°)
OKLaboklab(78.96% -0.0893 0.1529)
OKLCHoklch(78.96% 0.177 120.3)
XYZxyz(38.5176, 51.1650, 9.8538)
Luminance0.5117 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACCA28 #4628CA
analogous
#CA9728 #ACCA28 #5BCA28
triadic
#ACCA28 #28ACCA #CA28AC
tetradic
#ACCA28 #28CA97 #4628CA #CA285B
square
#ACCA28 #28CA97 #4628CA #CA285B
split-complementary
#ACCA28 #285BCA #9728CA
monochromatic
#556414 #81971E #ACCA28 #C3DD52 #D5E785

Accessibility & contrast

On white

1.87
#ACCA28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#ACCA28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACCA28
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACCA28#FFFFFF#000000##000000
##ACCA281.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE00
Deuteranopia (green-blind)
#D4BE39
Tritanopia (blue-blind)
#B6BFAD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #acca28;
/* rgb */ color: rgb(172, 202, 40);
/* oklch */ color: oklch(79.0% 0.177 120.3);
Tailwind
colors: {
  custom: {
    50: '#c9da71',
    500: '#acca28',
    950: '#000000',
  },
}
SCSS
$custom: #acca28;
$custom-light: #c9da71;
$custom-dark: #000000;
JSON
{
  "hex": "#acca28",
  "rgb": {
    "r": 172,
    "g": 202,
    "b": 40
  },
  "hsl": {
    "h": 71.111,
    "s": 66.942,
    "l": 47.451
  },
  "oklch": {
    "l": 0.78964,
    "c": 0.17704,
    "h": 120.3
  },
  "luminance": 0.51165
}

Semantic roles & 50–950 ramp

primary
#ACCA28
secondary
#35286E
accent
#3EEA5E
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #ACCA28

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

Preview Lab → · Contrast checker → · Palette generator →

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