#ABAC48#ABAC48

#ABAC48 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.4% C 0.123 H 109.6°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#ABAC48
RGBrgb(171, 172, 72)
HSLhsl(61, 41%, 48%)
HSVhsv(61, 58%, 67%)
CMYKcmyk(0.6%, 0%, 58.1%, 32.5%)
CIE-LABlab(68.48, -13.74, 50.14)
CIE-LCHlch(68.48, 51.99, 105.32°)
OKLaboklab(72.36% -0.0413 0.1156)
OKLCHoklch(72.36% 0.123 109.6)
XYZxyz(32.7177, 38.6317, 11.8628)
Luminance0.3863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAC48 #4948AC
analogous
#AC7B48 #ABAC48 #79AC48
triadic
#ABAC48 #48ABAC #AC48AB
tetradic
#ABAC48 #48AC7B #4948AC #AC4879
square
#ABAC48 #48AC7B #4948AC #AC4879
split-complementary
#ABAC48 #4879AC #7B48AC
monochromatic
#555624 #808136 #ABAC48 #C2C36F #D4D59A

Accessibility & contrast

On white

2.41
#ABAC48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#ABAC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAC48
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAC48#FFFFFF#000000##000000
##ABAC481.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A53D
Deuteranopia (green-blind)
#BAA94E
Tritanopia (blue-blind)
#B6A296
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #abac48;
/* rgb */ color: rgb(171, 172, 72);
/* oklch */ color: oklch(72.4% 0.123 109.6);
Tailwind
colors: {
  custom: {
    50: '#c6c47f',
    500: '#abac48',
    950: '#000000',
  },
}
SCSS
$custom: #abac48;
$custom-light: #c6c47f;
$custom-dark: #000000;
JSON
{
  "hex": "#abac48",
  "rgb": {
    "r": 171,
    "g": 172,
    "b": 72
  },
  "hsl": {
    "h": 60.6,
    "s": 40.984,
    "l": 47.843
  },
  "oklch": {
    "l": 0.72356,
    "c": 0.12279,
    "h": 109.6
  },
  "luminance": 0.38631
}

Semantic roles & 50–950 ramp

primary
#ABAC48
secondary
#8F8FC1
accent
#57D158
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #ABAC48

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

Preview Lab → · Contrast checker → · Palette generator →

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