#ABAB29#ABAB29

#ABAB29 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 71.9% C 0.144 H 109.5°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#ABAB29
RGBrgb(171, 171, 41)
HSLhsl(60, 61%, 42%)
HSVhsv(60, 76%, 67%)
CMYKcmyk(0%, 0%, 76%, 32.9%)
CIE-LABlab(67.98, -15.02, 61.91)
CIE-LCHlch(67.98, 63.71, 103.64°)
OKLaboklab(71.88% -0.0481 0.1355)
OKLCHoklch(71.88% 0.144 109.5)
XYZxyz(31.7589, 37.9448, 7.7485)
Luminance0.3794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAB29 #2929AB
analogous
#AB6A29 #ABAB29 #6AAB29
triadic
#ABAB29 #29ABAB #AB29AB
tetradic
#ABAB29 #29AB6A #2929AB #AB296A
square
#ABAB29 #29AB6A #2929AB #AB296A
split-complementary
#ABAB29 #296AAB #6A29AB
monochromatic
#484811 #7A7A1D #ABAB29 #D1D140 #DDDD71

Accessibility & contrast

On white

2.45
#ABAB29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#ABAB29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAB29
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAB29#FFFFFF#000000##000000
##ABAB291.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A407
Deuteranopia (green-blind)
#BBA734
Tritanopia (blue-blind)
#B7A093
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #abab29;
/* rgb */ color: rgb(171, 171, 41);
/* oklch */ color: oklch(71.9% 0.144 109.5);
Tailwind
colors: {
  custom: {
    50: '#c8c36e',
    500: '#abab29',
    950: '#000000',
  },
}
SCSS
$custom: #abab29;
$custom-light: #c8c36e;
$custom-dark: #000000;
JSON
{
  "hex": "#abab29",
  "rgb": {
    "r": 171,
    "g": 171,
    "b": 41
  },
  "hsl": {
    "h": 60,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.71881,
    "c": 0.14378,
    "h": 109.5
  },
  "luminance": 0.37944
}

Semantic roles & 50–950 ramp

primary
#ABAB29
secondary
#6C6CC4
accent
#43E443
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141208
muted
#82817B

Preview Lab

Preview with #ABAB29

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

Preview Lab → · Contrast checker → · Palette generator →

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