#ABAC52#ABAC52

#ABAC52 is a light, moderate yellow. Relative luminance 0.388; OKLCH L 72.5% C 0.113 H 109.5°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#ABAC52
RGBrgb(171, 172, 82)
HSLhsl(61, 35%, 50%)
HSVhsv(61, 52%, 67%)
CMYKcmyk(0.6%, 0%, 52.3%, 32.5%)
CIE-LABlab(68.59, -12.92, 45.56)
CIE-LCHlch(68.59, 47.36, 105.84°)
OKLaboklab(72.47% -0.0379 0.107)
OKLCHoklch(72.47% 0.113 109.5)
XYZxyz(33.0709, 38.7730, 13.7228)
Luminance0.3877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAC52 #5352AC
analogous
#AC8052 #ABAC52 #7EAC52
triadic
#ABAC52 #52ABAC #AC52AB
tetradic
#ABAC52 #52AC80 #5352AC #AC527E
square
#ABAC52 #52AC80 #5352AC #AC527E
split-complementary
#ABAC52 #527EAC #8052AC
monochromatic
#59592A #82833E #ABAC52 #BFC07B #D3D4A5

Accessibility & contrast

On white

2.40
#ABAC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#ABAC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAC52
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAC52#FFFFFF#000000##000000
##ABAC521.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A649
Deuteranopia (green-blind)
#B9A957
Tritanopia (blue-blind)
#B5A398
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #abac52;
/* rgb */ color: rgb(171, 172, 82);
/* oklch */ color: oklch(72.5% 0.113 109.5);
Tailwind
colors: {
  custom: {
    50: '#c6c485',
    500: '#abac52',
    950: '#000000',
  },
}
SCSS
$custom: #abac52;
$custom-light: #c6c485;
$custom-dark: #000000;
JSON
{
  "hex": "#abac52",
  "rgb": {
    "r": 171,
    "g": 172,
    "b": 82
  },
  "hsl": {
    "h": 60.667,
    "s": 35.433,
    "l": 49.804
  },
  "oklch": {
    "l": 0.72471,
    "c": 0.11347,
    "h": 109.5
  },
  "luminance": 0.38772
}

Semantic roles & 50–950 ramp

primary
#ABAC52
secondary
#9999C1
accent
#5CCB5E
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #ABAC52

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

Preview Lab → · Contrast checker → · Palette generator →

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