#ABAC29#ABAC29

#ABAC29 is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.1% C 0.145 H 110.0°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#ABAC29
RGBrgb(171, 172, 41)
HSLhsl(60, 62%, 42%)
HSVhsv(60, 76%, 67%)
CMYKcmyk(0.6%, 0%, 76.2%, 32.5%)
CIE-LABlab(68.26, -15.54, 62.17)
CIE-LCHlch(68.26, 64.08, 104.03°)
OKLaboklab(72.1% -0.0495 0.1361)
OKLCHoklch(72.1% 0.145 110)
XYZxyz(31.9485, 38.3240, 7.8117)
Luminance0.3832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAC29 #2A29AC
analogous
#AC6C29 #ABAC29 #6AAC29
triadic
#ABAC29 #29ABAC #AC29AB
tetradic
#ABAC29 #29AC6C #2A29AC #AC296A
square
#ABAC29 #29AC6C #2A29AC #AC296A
split-complementary
#ABAC29 #296AAC #6C29AC
monochromatic
#494911 #7A7B1D #ABAC29 #D1D241 #DDDD72

Accessibility & contrast

On white

2.42
#ABAC29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#ABAC29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAC29
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAC29#FFFFFF#000000##000000
##ABAC291.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA406
Deuteranopia (green-blind)
#BBA834
Tritanopia (blue-blind)
#B7A193
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #abac29;
/* rgb */ color: rgb(171, 172, 41);
/* oklch */ color: oklch(72.1% 0.145 110.0);
Tailwind
colors: {
  custom: {
    50: '#c8c46e',
    500: '#abac29',
    950: '#000000',
  },
}
SCSS
$custom: #abac29;
$custom-light: #c8c46e;
$custom-dark: #000000;
JSON
{
  "hex": "#abac29",
  "rgb": {
    "r": 171,
    "g": 172,
    "b": 41
  },
  "hsl": {
    "h": 60.458,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.72104,
    "c": 0.14478,
    "h": 110
  },
  "luminance": 0.38323
}

Semantic roles & 50–950 ramp

primary
#ABAC29
secondary
#6D6CC5
accent
#43E544
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ABAC29

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

Preview Lab → · Contrast checker → · Palette generator →

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