#ABAC2B#ABAC2B

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

Color values

HEX#ABAC2B
RGBrgb(171, 172, 43)
HSLhsl(60, 60%, 42%)
HSVhsv(60, 75%, 67%)
CMYKcmyk(0.6%, 0%, 75%, 32.5%)
CIE-LABlab(68.27, -15.45, 61.52)
CIE-LCHlch(68.27, 63.43, 104.10°)
OKLaboklab(72.12% -0.0491 0.1351)
OKLCHoklch(72.12% 0.144 110)
XYZxyz(31.9843, 38.3383, 8.0002)
Luminance0.3834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAC2B #2C2BAC
analogous
#AC6D2B #ABAC2B #6BAC2B
triadic
#ABAC2B #2BABAC #AC2BAB
tetradic
#ABAC2B #2BAC6D #2C2BAC #AC2B6B
square
#ABAC2B #2BAC6D #2C2BAC #AC2B6B
split-complementary
#ABAC2B #2B6BAC #6D2BAC
monochromatic
#4A4A13 #7A7B1F #ABAC2B #CFD044 #DCDC75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABAC2B#FFFFFF#000000##000000
##ABAC2B1.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)
#BAA40D
Deuteranopia (green-blind)
#BBA836
Tritanopia (blue-blind)
#B7A194
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #abac2b;
/* rgb */ color: rgb(171, 172, 43);
/* oklch */ color: oklch(72.1% 0.144 110.0);
Tailwind
colors: {
  custom: {
    50: '#c8c46f',
    500: '#abac2b',
    950: '#000000',
  },
}
SCSS
$custom: #abac2b;
$custom-light: #c8c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#abac2b",
  "rgb": {
    "r": 171,
    "g": 172,
    "b": 43
  },
  "hsl": {
    "h": 60.465,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.72116,
    "c": 0.1437,
    "h": 110
  },
  "luminance": 0.38337
}

Semantic roles & 50–950 ramp

primary
#ABAC2B
secondary
#6F6FC4
accent
#45E346
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ABAC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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