#ABAC24#ABAC24

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

Color values

HEX#ABAC24
RGBrgb(171, 172, 36)
HSLhsl(60, 65%, 41%)
HSVhsv(60, 79%, 67%)
CMYKcmyk(0.6%, 0%, 79.1%, 32.5%)
CIE-LABlab(68.23, -15.73, 63.68)
CIE-LCHlch(68.23, 65.60, 103.87°)
OKLaboklab(72.08% -0.0504 0.1384)
OKLCHoklch(72.08% 0.147 110)
XYZxyz(31.8667, 38.2913, 7.3811)
Luminance0.3829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAC24 #2524AC
analogous
#AC6924 #ABAC24 #67AC24
triadic
#ABAC24 #24ABAC #AC24AB
tetradic
#ABAC24 #24AC69 #2524AC #AC2467
square
#ABAC24 #24AC69 #2524AC #AC2467
split-complementary
#ABAC24 #2467AC #6924AC
monochromatic
#46470F #797919 #ABAC24 #D4D538 #DFE06A

Accessibility & contrast

On white

2.43
#ABAC24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABAC24#FFFFFF#000000##000000
##ABAC241.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abac24;
/* rgb */ color: rgb(171, 172, 36);
/* oklch */ color: oklch(72.1% 0.147 110.0);
Tailwind
colors: {
  custom: {
    50: '#c8c46c',
    500: '#abac24',
    950: '#000000',
  },
}
SCSS
$custom: #abac24;
$custom-light: #c8c46c;
$custom-dark: #000000;
JSON
{
  "hex": "#abac24",
  "rgb": {
    "r": 171,
    "g": 172,
    "b": 36
  },
  "hsl": {
    "h": 60.441,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.72077,
    "c": 0.14728,
    "h": 110
  },
  "luminance": 0.3829
}

Semantic roles & 50–950 ramp

primary
#ABAC24
secondary
#6766C6
accent
#3FE841
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141207
muted
#82817A

Preview Lab

Preview with #ABAC24

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

Preview Lab → · Contrast checker → · Palette generator →

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