#ABAC23#ABAC23

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

Color values

HEX#ABAC23
RGBrgb(171, 172, 35)
HSLhsl(60, 66%, 41%)
HSVhsv(60, 80%, 67%)
CMYKcmyk(0.6%, 0%, 79.7%, 32.5%)
CIE-LABlab(68.23, -15.76, 63.97)
CIE-LCHlch(68.23, 65.88, 103.84°)
OKLaboklab(72.07% -0.0506 0.1388)
OKLCHoklch(72.07% 0.148 110)
XYZxyz(31.8517, 38.2853, 7.3017)
Luminance0.3828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAC23 #2423AC
analogous
#AC6823 #ABAC23 #66AC23
triadic
#ABAC23 #23ABAC #AC23AB
tetradic
#ABAC23 #23AC68 #2423AC #AC2366
square
#ABAC23 #23AC68 #2423AC #AC2366
split-complementary
#ABAC23 #2366AC #6823AC
monochromatic
#46460E #787919 #ABAC23 #D5D636 #E0E069

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABAC23#FFFFFF#000000##000000
##ABAC231.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: #abac23;
/* rgb */ color: rgb(171, 172, 35);
/* oklch */ color: oklch(72.1% 0.148 110.0);
Tailwind
colors: {
  custom: {
    50: '#c8c46b',
    500: '#abac23',
    950: '#000000',
  },
}
SCSS
$custom: #abac23;
$custom-light: #c8c46b;
$custom-dark: #000000;
JSON
{
  "hex": "#abac23",
  "rgb": {
    "r": 171,
    "g": 172,
    "b": 35
  },
  "hsl": {
    "h": 60.438,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.72072,
    "c": 0.14774,
    "h": 110
  },
  "luminance": 0.38284
}

Semantic roles & 50–950 ramp

primary
#ABAC23
secondary
#6564C6
accent
#3FE940
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141207
muted
#82817A

Preview Lab

Preview with #ABAC23

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

Preview Lab → · Contrast checker → · Palette generator →

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