#ABAF41#ABAF41

#ABAF41 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.0% C 0.132 H 111.2°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#ABAF41
RGBrgb(171, 175, 65)
HSLhsl(62, 46%, 47%)
HSVhsv(62, 63%, 69%)
CMYKcmyk(2.3%, 0%, 62.9%, 31.4%)
CIE-LABlab(69.26, -15.78, 54.07)
CIE-LCHlch(69.26, 56.32, 106.27°)
OKLaboklab(72.95% -0.0478 0.123)
OKLCHoklch(72.95% 0.132 111.2)
XYZxyz(33.0796, 39.7003, 10.9204)
Luminance0.3970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF41 #4541AF
analogous
#AF7C41 #ABAF41 #74AF41
triadic
#ABAF41 #41ABAF #AF41AB
tetradic
#ABAF41 #41AF7C #4541AF #AF4174
square
#ABAF41 #41AF7C #4541AF #AF4174
split-complementary
#ABAF41 #4174AF #7C41AF
monochromatic
#545620 #7F8230 #ABAF41 #C3C667 #D5D793

Accessibility & contrast

On white

2.35
#ABAF41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#ABAF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAF41
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAF41#FFFFFF#000000##000000
##ABAF411.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA733
Deuteranopia (green-blind)
#BDAB48
Tritanopia (blue-blind)
#B6A598
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #abaf41;
/* rgb */ color: rgb(171, 175, 65);
/* oklch */ color: oklch(73.0% 0.132 111.2);
Tailwind
colors: {
  custom: {
    50: '#c7c67b',
    500: '#abaf41',
    950: '#000000',
  },
}
SCSS
$custom: #abaf41;
$custom-light: #c7c67b;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf41",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 65
  },
  "hsl": {
    "h": 62.182,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72952,
    "c": 0.13198,
    "h": 111.2
  },
  "luminance": 0.397
}

Semantic roles & 50–950 ramp

primary
#ABAF41
secondary
#8B89C2
accent
#52D557
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #ABAF41

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

Preview Lab → · Contrast checker → · Palette generator →

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