#ACCA21#ACCA21

#ACCA21 is a light, vivid yellow-green. Relative luminance 0.511; OKLCH L 78.9% C 0.180 H 120.2°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#ACCA21
RGBrgb(172, 202, 33)
HSLhsl(71, 72%, 46%)
HSVhsv(71, 84%, 79%)
CMYKcmyk(14.9%, 0%, 83.7%, 20.8%)
CIE-LABlab(76.75, -30.14, 71.89)
CIE-LCHlch(76.75, 77.96, 112.74°)
OKLaboklab(78.94% -0.0903 0.1555)
OKLCHoklch(78.94% 0.18 120.2)
XYZxyz(38.4091, 51.1217, 9.2826)
Luminance0.5112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACCA21 #3F21CA
analogous
#CA9321 #ACCA21 #57CA21
triadic
#ACCA21 #21ACCA #CA21AC
tetradic
#ACCA21 #21CA93 #3F21CA #CA2157
square
#ACCA21 #21CA93 #3F21CA #CA2157
split-complementary
#ACCA21 #2157CA #9321CA
monochromatic
#526110 #7F9518 #ACCA21 #C6E147 #D6EA7C

Accessibility & contrast

On white

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

On black

11.22
#ACCA21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACCA21
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACCA21#FFFFFF#000000##000000
##ACCA211.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #acca21;
/* rgb */ color: rgb(172, 202, 33);
/* oklch */ color: oklch(78.9% 0.180 120.2);
Tailwind
colors: {
  custom: {
    50: '#c9da6f',
    500: '#acca21',
    950: '#000000',
  },
}
SCSS
$custom: #acca21;
$custom-light: #c9da6f;
$custom-dark: #000000;
JSON
{
  "hex": "#acca21",
  "rgb": {
    "r": 172,
    "g": 202,
    "b": 33
  },
  "hsl": {
    "h": 70.651,
    "s": 71.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.78935,
    "c": 0.17982,
    "h": 120.2
  },
  "luminance": 0.51122
}

Semantic roles & 50–950 ramp

primary
#ACCA21
secondary
#30246C
accent
#39EF59
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141408
muted
#83837D

Preview Lab

Preview with #ACCA21

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

Preview Lab → · Contrast checker → · Palette generator →

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