#ABAC41#ABAC41

#ABAC41 is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.3% C 0.129 H 109.7°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#ABAC41
RGBrgb(171, 172, 65)
HSLhsl(61, 45%, 46%)
HSVhsv(61, 62%, 67%)
CMYKcmyk(0.6%, 0%, 62.2%, 32.5%)
CIE-LABlab(68.42, -14.24, 53.18)
CIE-LCHlch(68.42, 55.05, 104.99°)
OKLaboklab(72.29% -0.0435 0.1211)
OKLCHoklch(72.29% 0.129 109.7)
XYZxyz(32.5022, 38.5455, 10.7279)
Luminance0.3855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAC41 #4241AC
analogous
#AC7841 #ABAC41 #76AC41
triadic
#ABAC41 #41ABAC #AC41AB
tetradic
#ABAC41 #41AC78 #4241AC #AC4176
square
#ABAC41 #41AC78 #4241AC #AC4176
split-complementary
#ABAC41 #4176AC #7841AC
monochromatic
#53531F #7F8030 #ABAC41 #C4C565 #D5D692

Accessibility & contrast

On white

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

On black

8.71
#ABAC41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAC41
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAC41#FFFFFF#000000##000000
##ABAC411.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abac41;
/* rgb */ color: rgb(171, 172, 65);
/* oklch */ color: oklch(72.3% 0.129 109.7);
Tailwind
colors: {
  custom: {
    50: '#c7c47b',
    500: '#abac41',
    950: '#000000',
  },
}
SCSS
$custom: #abac41;
$custom-light: #c7c47b;
$custom-dark: #000000;
JSON
{
  "hex": "#abac41",
  "rgb": {
    "r": 171,
    "g": 172,
    "b": 65
  },
  "hsl": {
    "h": 60.561,
    "s": 45.148,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72285,
    "c": 0.1287,
    "h": 109.7
  },
  "luminance": 0.38545
}

Semantic roles & 50–950 ramp

primary
#ABAC41
secondary
#8888C1
accent
#53D554
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #ABAC41

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

Preview Lab → · Contrast checker → · Palette generator →

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