#ACAB2A#ACAB2A

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

Color values

HEX#ACAB2A
RGBrgb(172, 171, 42)
HSLhsl(60, 61%, 42%)
HSVhsv(60, 76%, 67%)
CMYKcmyk(0%, 0.6%, 75.6%, 32.5%)
CIE-LABlab(68.07, -14.54, 61.70)
CIE-LCHlch(68.07, 63.39, 103.26°)
OKLaboklab(71.97% -0.0467 0.1352)
OKLCHoklch(71.97% 0.143 109.1)
XYZxyz(31.9953, 38.0646, 7.8519)
Luminance0.3806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACAB2A #2A2BAC
analogous
#AC6A2A #ACAB2A #6CAC2A
triadic
#ACAB2A #2AACAB #AB2AAC
tetradic
#ACAB2A #2AAC6A #2A2BAC #AC2A6C
square
#ACAB2A #2AAC6A #2A2BAC #AC2A6C
split-complementary
#ACAB2A #2A6CAC #6A2AAC
monochromatic
#4A4912 #7B7A1E #ACAB2A #D1D042 #DDDC73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ACAB2A#FFFFFF#000000##000000
##ACAB2A1.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)
#B9A40A
Deuteranopia (green-blind)
#BBA835
Tritanopia (blue-blind)
#B9A093
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #acab2a;
/* rgb */ color: rgb(172, 171, 42);
/* oklch */ color: oklch(72.0% 0.143 109.1);
Tailwind
colors: {
  custom: {
    50: '#c8c36e',
    500: '#acab2a',
    950: '#000000',
  },
}
SCSS
$custom: #acab2a;
$custom-light: #c8c36e;
$custom-dark: #000000;
JSON
{
  "hex": "#acab2a",
  "rgb": {
    "r": 172,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 59.538,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.71974,
    "c": 0.14304,
    "h": 109.1
  },
  "luminance": 0.38064
}

Semantic roles & 50–950 ramp

primary
#ACAB2A
secondary
#6D6EC4
accent
#45E444
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ACAB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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