#ABAF33#ABAF33

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

Color values

HEX#ABAF33
RGBrgb(171, 175, 51)
HSLhsl(62, 55%, 44%)
HSVhsv(62, 71%, 69%)
CMYKcmyk(2.3%, 0%, 70.9%, 31.4%)
CIE-LABlab(69.15, -16.60, 59.56)
CIE-LCHlch(69.15, 61.83, 105.58°)
OKLaboklab(72.84% -0.0516 0.1323)
OKLCHoklch(72.84% 0.142 111.3)
XYZxyz(32.7232, 39.5577, 9.0430)
Luminance0.3956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF33 #3733AF
analogous
#AF7533 #ABAF33 #6DAF33
triadic
#ABAF33 #33ABAF #AF33AB
tetradic
#ABAF33 #33AF75 #3733AF #AF336D
square
#ABAF33 #33AF75 #3733AF #AF336D
split-complementary
#ABAF33 #336DAF #7533AF
monochromatic
#4E5017 #7D8025 #ABAF33 #C9CD52 #D8DB82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABAF33#FFFFFF#000000##000000
##ABAF331.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)
#BDA71D
Deuteranopia (green-blind)
#BDAA3C
Tritanopia (blue-blind)
#B7A497
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #abaf33;
/* rgb */ color: rgb(171, 175, 51);
/* oklch */ color: oklch(72.8% 0.142 111.3);
Tailwind
colors: {
  custom: {
    50: '#c7c673',
    500: '#abaf33',
    950: '#000000',
  },
}
SCSS
$custom: #abaf33;
$custom-light: #c7c673;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf33",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 51
  },
  "hsl": {
    "h": 61.935,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72838,
    "c": 0.14202,
    "h": 111.3
  },
  "luminance": 0.39557
}

Semantic roles & 50–950 ramp

primary
#ABAF33
secondary
#7C7AC4
accent
#4ADE4E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #ABAF33

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

Preview Lab → · Contrast checker → · Palette generator →

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