#ACAB28#ACAB28

#ACAB28 is a light, vivid yellow. Relative luminance 0.381; OKLCH L 72.0% C 0.144 H 109.1°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#ACAB28
RGBrgb(172, 171, 40)
HSLhsl(60, 62%, 42%)
HSVhsv(60, 77%, 67%)
CMYKcmyk(0%, 0.6%, 76.7%, 32.5%)
CIE-LABlab(68.06, -14.63, 62.34)
CIE-LCHlch(68.06, 64.03, 103.21°)
OKLaboklab(71.96% -0.0471 0.1362)
OKLCHoklch(71.96% 0.144 109.1)
XYZxyz(31.9604, 38.0507, 7.6680)
Luminance0.3805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACAB28 #2829AC
analogous
#AC6928 #ACAB28 #6BAC28
triadic
#ACAB28 #28ACAB #AB28AC
tetradic
#ACAB28 #28AC69 #2829AC #AC286B
square
#ACAB28 #28AC69 #2829AC #AC286B
split-complementary
#ACAB28 #286BAC #6928AC
monochromatic
#494811 #7A7A1C #ACAB28 #D2D13F #DEDD71

Accessibility & contrast

On white

2.44
#ACAB28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#ACAB28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACAB28
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACAB28#FFFFFF#000000##000000
##ACAB281.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A404
Deuteranopia (green-blind)
#BBA833
Tritanopia (blue-blind)
#B9A093
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #acab28;
/* rgb */ color: rgb(172, 171, 40);
/* oklch */ color: oklch(72.0% 0.144 109.1);
Tailwind
colors: {
  custom: {
    50: '#c8c36d',
    500: '#acab28',
    950: '#000000',
  },
}
SCSS
$custom: #acab28;
$custom-light: #c8c36d;
$custom-dark: #000000;
JSON
{
  "hex": "#acab28",
  "rgb": {
    "r": 172,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 59.545,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.71962,
    "c": 0.1441,
    "h": 109.1
  },
  "luminance": 0.3805
}

Semantic roles & 50–950 ramp

primary
#ACAB28
secondary
#6B6CC5
accent
#44E542
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141208
muted
#82817B

Preview Lab

Preview with #ACAB28

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

Preview Lab → · Contrast checker → · Palette generator →

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