#ACAB22#ACAB22

#ACAB22 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 71.9% C 0.147 H 109.1°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#ACAB22
RGBrgb(172, 171, 34)
HSLhsl(60, 67%, 40%)
HSVhsv(60, 80%, 67%)
CMYKcmyk(0%, 0.6%, 80.2%, 32.5%)
CIE-LABlab(68.03, -14.85, 64.11)
CIE-LCHlch(68.03, 65.81, 103.04°)
OKLaboklab(71.93% -0.0482 0.1389)
OKLCHoklch(71.93% 0.147 109.1)
XYZxyz(31.8662, 38.0130, 7.1717)
Luminance0.3801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACAB22 #2223AC
analogous
#AC6622 #ACAB22 #68AC22
triadic
#ACAB22 #22ACAB #AB22AC
tetradic
#ACAB22 #22AC66 #2223AC #AC2268
square
#ACAB22 #22AC66 #2223AC #AC2268
split-complementary
#ACAB22 #2268AC #6622AC
monochromatic
#46450E #797818 #ACAB22 #D7D634 #E1E067

Accessibility & contrast

On white

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

On black

8.60
#ACAB22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACAB22
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACAB22#FFFFFF#000000##000000
##ACAB221.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#BBA82F
Tritanopia (blue-blind)
#B99F92
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #acab22;
/* rgb */ color: rgb(172, 171, 34);
/* oklch */ color: oklch(71.9% 0.147 109.1);
Tailwind
colors: {
  custom: {
    50: '#c9c36b',
    500: '#acab22',
    950: '#000000',
  },
}
SCSS
$custom: #acab22;
$custom-light: #c9c36b;
$custom-dark: #000000;
JSON
{
  "hex": "#acab22",
  "rgb": {
    "r": 172,
    "g": 171,
    "b": 34
  },
  "hsl": {
    "h": 59.565,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.71931,
    "c": 0.147,
    "h": 109.1
  },
  "luminance": 0.38012
}

Semantic roles & 50–950 ramp

primary
#ACAB22
secondary
#6364C7
accent
#3FEA3E
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141207
muted
#82817A

Preview Lab

Preview with #ACAB22

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

Preview Lab → · Contrast checker → · Palette generator →

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