#ABAC2D#ABAC2D

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

Color values

HEX#ABAC2D
RGBrgb(171, 172, 45)
HSLhsl(60, 59%, 43%)
HSVhsv(60, 74%, 67%)
CMYKcmyk(0.6%, 0%, 73.8%, 32.5%)
CIE-LABlab(68.28, -15.36, 60.86)
CIE-LCHlch(68.28, 62.77, 104.17°)
OKLaboklab(72.13% -0.0487 0.134)
OKLCHoklch(72.13% 0.143 110)
XYZxyz(32.0219, 38.3534, 8.1982)
Luminance0.3835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAC2D #2E2DAC
analogous
#AC6D2D #ABAC2D #6CAC2D
triadic
#ABAC2D #2DABAC #AC2DAB
tetradic
#ABAC2D #2DAC6D #2E2DAC #AC2D6C
square
#ABAC2D #2DAC6D #2E2DAC #AC2D6C
split-complementary
#ABAC2D #2D6CAC #6D2DAC
monochromatic
#4B4B14 #7B7B20 #ABAC2D #CECF47 #DBDC78

Accessibility & contrast

On white

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

On black

8.67
#ABAC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAC2D
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAC2D#FFFFFF#000000##000000
##ABAC2D1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA412
Deuteranopia (green-blind)
#BBA837
Tritanopia (blue-blind)
#B7A194
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #abac2d;
/* rgb */ color: rgb(171, 172, 45);
/* oklch */ color: oklch(72.1% 0.143 110.0);
Tailwind
colors: {
  custom: {
    50: '#c8c470',
    500: '#abac2d',
    950: '#000000',
  },
}
SCSS
$custom: #abac2d;
$custom-light: #c8c470;
$custom-dark: #000000;
JSON
{
  "hex": "#abac2d",
  "rgb": {
    "r": 171,
    "g": 172,
    "b": 45
  },
  "hsl": {
    "h": 60.472,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.72128,
    "c": 0.14257,
    "h": 110
  },
  "luminance": 0.38352
}

Semantic roles & 50–950 ramp

primary
#ABAC2D
secondary
#7271C4
accent
#46E247
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ABAC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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