#ACAB2B#ACAB2B

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

Color values

HEX#ACAB2B
RGBrgb(172, 171, 43)
HSLhsl(60, 60%, 42%)
HSVhsv(60, 75%, 67%)
CMYKcmyk(0%, 0.6%, 75%, 32.5%)
CIE-LABlab(68.07, -14.50, 61.37)
CIE-LCHlch(68.07, 63.06, 103.30°)
OKLaboklab(71.98% -0.0465 0.1347)
OKLCHoklch(71.98% 0.143 109)
XYZxyz(32.0134, 38.0719, 7.9473)
Luminance0.3807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACAB2B #2B2CAC
analogous
#AC6B2B #ACAB2B #6DAC2B
triadic
#ACAB2B #2BACAB #AB2BAC
tetradic
#ACAB2B #2BAC6B #2B2CAC #AC2B6D
square
#ACAB2B #2BAC6B #2B2CAC #AC2B6D
split-complementary
#ACAB2B #2B6DAC #6B2BAC
monochromatic
#4A4A13 #7B7A1F #ACAB2B #D0CF44 #DCDC75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #acab2b;
/* rgb */ color: rgb(172, 171, 43);
/* oklch */ color: oklch(72.0% 0.142 109.0);
Tailwind
colors: {
  custom: {
    50: '#c8c36f',
    500: '#acab2b',
    950: '#000000',
  },
}
SCSS
$custom: #acab2b;
$custom-light: #c8c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#acab2b",
  "rgb": {
    "r": 172,
    "g": 171,
    "b": 43
  },
  "hsl": {
    "h": 59.535,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.7198,
    "c": 0.1425,
    "h": 109
  },
  "luminance": 0.38071
}

Semantic roles & 50–950 ramp

primary
#ACAB2B
secondary
#6F6FC4
accent
#46E345
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ACAB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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