#ACCA15#ACCA15

#ACCA15 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 78.9% C 0.183 H 120.0°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#ACCA15
RGBrgb(172, 202, 21)
HSLhsl(70, 81%, 44%)
HSVhsv(70, 90%, 79%)
CMYKcmyk(14.9%, 0%, 89.6%, 20.8%)
CIE-LABlab(76.72, -30.44, 74.22)
CIE-LCHlch(76.72, 80.22, 112.30°)
OKLaboklab(78.9% -0.0918 0.1588)
OKLCHoklch(78.9% 0.183 120)
XYZxyz(38.2700, 51.0660, 8.5499)
Luminance0.5107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACCA15 #3315CA
analogous
#CA8D15 #ACCA15 #51CA15
triadic
#ACCA15 #15ACCA #CA15AC
tetradic
#ACCA15 #15CA8D #3315CA #CA1551
square
#ACCA15 #15CA8D #3315CA #CA1551
split-complementary
#ACCA15 #1551CA #8D15CA
monochromatic
#4E5B09 #7D930F #ACCA15 #CBEA32 #D9EF6A

Accessibility & contrast

On white

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

On black

11.21
#ACCA15 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACCA15
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACCA15#FFFFFF#000000##000000
##ACCA151.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #acca15;
/* rgb */ color: rgb(172, 202, 21);
/* oklch */ color: oklch(78.9% 0.183 120.0);
Tailwind
colors: {
  custom: {
    50: '#c9da6b',
    500: '#acca15',
    950: '#000000',
  },
}
SCSS
$custom: #acca15;
$custom-light: #c9da6b;
$custom-dark: #000000;
JSON
{
  "hex": "#acca15",
  "rgb": {
    "r": 172,
    "g": 202,
    "b": 21
  },
  "hsl": {
    "h": 69.945,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.78897,
    "c": 0.18342,
    "h": 120
  },
  "luminance": 0.51066
}

Semantic roles & 50–950 ramp

primary
#ACCA15
secondary
#291C67
accent
#30F851
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141408
muted
#83837D

Preview Lab

Preview with #ACCA15

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

Preview Lab → · Contrast checker → · Palette generator →

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