#ACAB2D#ACAB2D

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

Color values

HEX#ACAB2D
RGBrgb(172, 171, 45)
HSLhsl(60, 59%, 43%)
HSVhsv(60, 74%, 67%)
CMYKcmyk(0%, 0.6%, 73.8%, 32.5%)
CIE-LABlab(68.08, -14.41, 60.70)
CIE-LCHlch(68.08, 62.39, 103.36°)
OKLaboklab(71.99% -0.0461 0.1337)
OKLCHoklch(71.99% 0.141 109)
XYZxyz(32.0510, 38.0869, 8.1453)
Luminance0.3809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACAB2D #2D2EAC
analogous
#AC6C2D #ACAB2D #6DAC2D
triadic
#ACAB2D #2DACAB #AB2DAC
tetradic
#ACAB2D #2DAC6C #2D2EAC #AC2D6D
square
#ACAB2D #2DAC6C #2D2EAC #AC2D6D
split-complementary
#ACAB2D #2D6DAC #6C2DAC
monochromatic
#4B4B14 #7B7B20 #ACAB2D #CFCE47 #DCDB78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ACAB2D#FFFFFF#000000##000000
##ACAB2D1.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)
#B9A413
Deuteranopia (green-blind)
#BBA837
Tritanopia (blue-blind)
#B8A093
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #acab2d;
/* rgb */ color: rgb(172, 171, 45);
/* oklch */ color: oklch(72.0% 0.141 109.0);
Tailwind
colors: {
  custom: {
    50: '#c8c370',
    500: '#acab2d',
    950: '#000000',
  },
}
SCSS
$custom: #acab2d;
$custom-light: #c8c370;
$custom-dark: #000000;
JSON
{
  "hex": "#acab2d",
  "rgb": {
    "r": 172,
    "g": 171,
    "b": 45
  },
  "hsl": {
    "h": 59.528,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.71992,
    "c": 0.14136,
    "h": 109
  },
  "luminance": 0.38086
}

Semantic roles & 50–950 ramp

primary
#ACAB2D
secondary
#7172C4
accent
#47E246
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ACAB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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