#ACAB31#ACAB31

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

Color values

HEX#ACAB31
RGBrgb(172, 171, 49)
HSLhsl(60, 56%, 43%)
HSVhsv(60, 72%, 67%)
CMYKcmyk(0%, 0.6%, 71.5%, 32.5%)
CIE-LABlab(68.11, -14.22, 59.30)
CIE-LCHlch(68.11, 60.98, 103.49°)
OKLaboklab(72.02% -0.0451 0.1314)
OKLCHoklch(72.02% 0.139 109)
XYZxyz(32.1317, 38.1192, 8.5703)
Luminance0.3812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACAB31 #3132AC
analogous
#AC6D31 #ACAB31 #6FAC31
triadic
#ACAB31 #31ACAB #AB31AC
tetradic
#ACAB31 #31AC6D #3132AC #AC316F
square
#ACAB31 #31AC6D #3132AC #AC316F
split-complementary
#ACAB31 #316FAC #6D31AC
monochromatic
#4D4C16 #7C7C23 #ACAB31 #CCCB4E #DAD97D

Accessibility & contrast

On white

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

On black

8.62
#ACAB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACAB31
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACAB31#FFFFFF#000000##000000
##ACAB311.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A41B
Deuteranopia (green-blind)
#BBA83A
Tritanopia (blue-blind)
#B8A093
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #acab31;
/* rgb */ color: rgb(172, 171, 49);
/* oklch */ color: oklch(72.0% 0.139 109.0);
Tailwind
colors: {
  custom: {
    50: '#c8c372',
    500: '#acab31',
    950: '#000000',
  },
}
SCSS
$custom: #acab31;
$custom-light: #c8c372;
$custom-dark: #000000;
JSON
{
  "hex": "#acab31",
  "rgb": {
    "r": 172,
    "g": 171,
    "b": 49
  },
  "hsl": {
    "h": 59.512,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.72019,
    "c": 0.13895,
    "h": 109
  },
  "luminance": 0.38118
}

Semantic roles & 50–950 ramp

primary
#ACAB31
secondary
#7677C3
accent
#4ADF49
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ACAB31

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

Preview Lab → · Contrast checker → · Palette generator →

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