#ABAF32#ABAF32

#ABAF32 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.8% C 0.143 H 111.3°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#ABAF32
RGBrgb(171, 175, 50)
HSLhsl(62, 56%, 44%)
HSVhsv(62, 71%, 69%)
CMYKcmyk(2.3%, 0%, 71.4%, 31.4%)
CIE-LABlab(69.15, -16.65, 59.92)
CIE-LCHlch(69.15, 62.19, 105.53°)
OKLaboklab(72.83% -0.0518 0.1329)
OKLCHoklch(72.83% 0.143 111.3)
XYZxyz(32.7014, 39.5490, 8.9281)
Luminance0.3955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF32 #3632AF
analogous
#AF7532 #ABAF32 #6DAF32
triadic
#ABAF32 #32ABAF #AF32AB
tetradic
#ABAF32 #32AF75 #3632AF #AF326D
square
#ABAF32 #32AF75 #3632AF #AF326D
split-complementary
#ABAF32 #326DAF #7532AF
monochromatic
#4E5017 #7C7F24 #ABAF32 #C9CD51 #D8DB81

Accessibility & contrast

On white

2.36
#ABAF32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#ABAF32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAF32
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAF32#FFFFFF#000000##000000
##ABAF321.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA71C
Deuteranopia (green-blind)
#BDAA3C
Tritanopia (blue-blind)
#B7A497
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #abaf32;
/* rgb */ color: rgb(171, 175, 50);
/* oklch */ color: oklch(72.8% 0.143 111.3);
Tailwind
colors: {
  custom: {
    50: '#c7c673',
    500: '#abaf32',
    950: '#000000',
  },
}
SCSS
$custom: #abaf32;
$custom-light: #c7c673;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf32",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 50
  },
  "hsl": {
    "h": 61.92,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72831,
    "c": 0.14266,
    "h": 111.3
  },
  "luminance": 0.39548
}

Semantic roles & 50–950 ramp

primary
#ABAF32
secondary
#7B79C4
accent
#49DF4E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #ABAF32

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

Preview Lab → · Contrast checker → · Palette generator →

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