#ABAF24#ABAF24

#ABAF24 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.7% C 0.150 H 111.3°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#ABAF24
RGBrgb(171, 175, 36)
HSLhsl(62, 66%, 41%)
HSVhsv(62, 79%, 69%)
CMYKcmyk(2.3%, 0%, 79.4%, 31.4%)
CIE-LABlab(69.07, -17.26, 64.43)
CIE-LCHlch(69.07, 66.70, 105.00°)
OKLaboklab(72.75% -0.0547 0.14)
OKLCHoklch(72.75% 0.15 111.3)
XYZxyz(32.4442, 39.4461, 7.5735)
Luminance0.3945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF24 #2824AF
analogous
#AF6E24 #ABAF24 #66AF24
triadic
#ABAF24 #24ABAF #AF24AB
tetradic
#ABAF24 #24AF6E #2824AF #AF2466
square
#ABAF24 #24AF6E #2824AF #AF2466
split-complementary
#ABAF24 #2466AF #6E24AF
monochromatic
#48490F #797C1A #ABAF24 #D2D63A #DEE16D

Accessibility & contrast

On white

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

On black

8.89
#ABAF24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAF24
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAF24#FFFFFF#000000##000000
##ABAF241.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BEAA31
Tritanopia (blue-blind)
#B7A496
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #abaf24;
/* rgb */ color: rgb(171, 175, 36);
/* oklch */ color: oklch(72.7% 0.150 111.3);
Tailwind
colors: {
  custom: {
    50: '#c8c66c',
    500: '#abaf24',
    950: '#000000',
  },
}
SCSS
$custom: #abaf24;
$custom-light: #c8c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf24",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 36
  },
  "hsl": {
    "h": 61.727,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.72748,
    "c": 0.15027,
    "h": 111.3
  },
  "luminance": 0.39445
}

Semantic roles & 50–950 ramp

primary
#ABAF24
secondary
#6A68C7
accent
#3FE944
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141308
muted
#82827A

Preview Lab

Preview with #ABAF24

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

Preview Lab → · Contrast checker → · Palette generator →

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