#ABAC20#ABAC20

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

Color values

HEX#ABAC20
RGBrgb(171, 172, 32)
HSLhsl(60, 69%, 40%)
HSVhsv(60, 81%, 67%)
CMYKcmyk(0.6%, 0%, 81.4%, 32.5%)
CIE-LABlab(68.22, -15.87, 64.79)
CIE-LCHlch(68.22, 66.70, 103.76°)
OKLaboklab(72.06% -0.0511 0.14)
OKLCHoklch(72.06% 0.149 110.1)
XYZxyz(31.8090, 38.2682, 7.0771)
Luminance0.3827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAC20 #2120AC
analogous
#AC6720 #ABAC20 #65AC20
triadic
#ABAC20 #20ABAC #AC20AB
tetradic
#ABAC20 #20AC67 #2120AC #AC2065
square
#ABAC20 #20AC67 #2120AC #AC2065
split-complementary
#ABAC20 #2065AC #6720AC
monochromatic
#44450D #787816 #ABAC20 #D7D931 #E1E264

Accessibility & contrast

On white

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

On black

8.65
#ABAC20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAC20
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAC20#FFFFFF#000000##000000
##ABAC201.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abac20;
/* rgb */ color: rgb(171, 172, 32);
/* oklch */ color: oklch(72.1% 0.149 110.1);
Tailwind
colors: {
  custom: {
    50: '#c8c46a',
    500: '#abac20',
    950: '#000000',
  },
}
SCSS
$custom: #abac20;
$custom-light: #c8c46a;
$custom-dark: #000000;
JSON
{
  "hex": "#abac20",
  "rgb": {
    "r": 171,
    "g": 172,
    "b": 32
  },
  "hsl": {
    "h": 60.429,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.72058,
    "c": 0.14906,
    "h": 110.1
  },
  "luminance": 0.38267
}

Semantic roles & 50–950 ramp

primary
#ABAC20
secondary
#6160C7
accent
#3CEB3E
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141207
muted
#82817A

Preview Lab

Preview with #ABAC20

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

Preview Lab → · Contrast checker → · Palette generator →

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