#ABAF29#ABAF29

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

Color values

HEX#ABAF29
RGBrgb(171, 175, 41)
HSLhsl(62, 62%, 42%)
HSVhsv(62, 77%, 69%)
CMYKcmyk(2.3%, 0%, 76.6%, 31.4%)
CIE-LABlab(69.10, -17.07, 62.94)
CIE-LCHlch(69.10, 65.21, 105.17°)
OKLaboklab(72.77% -0.0538 0.1377)
OKLCHoklch(72.77% 0.148 111.3)
XYZxyz(32.5259, 39.4788, 8.0042)
Luminance0.3948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF29 #2D29AF
analogous
#AF7029 #ABAF29 #68AF29
triadic
#ABAF29 #29ABAF #AF29AB
tetradic
#ABAF29 #29AF70 #2D29AF #AF2968
square
#ABAF29 #29AF70 #2D29AF #AF2968
split-complementary
#ABAF29 #2968AF #7029AF
monochromatic
#4A4C12 #7B7D1D #ABAF29 #CFD342 #DBDE74

Accessibility & contrast

On white

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

On black

8.90
#ABAF29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAF29
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAF29#FFFFFF#000000##000000
##ABAF291.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abaf29;
/* rgb */ color: rgb(171, 175, 41);
/* oklch */ color: oklch(72.8% 0.148 111.3);
Tailwind
colors: {
  custom: {
    50: '#c8c66e',
    500: '#abaf29',
    950: '#000000',
  },
}
SCSS
$custom: #abaf29;
$custom-light: #c8c66e;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf29",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 41
  },
  "hsl": {
    "h": 61.791,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.72774,
    "c": 0.14781,
    "h": 111.3
  },
  "luminance": 0.39478
}

Semantic roles & 50–950 ramp

primary
#ABAF29
secondary
#716EC6
accent
#43E548
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABAF29

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

Preview Lab → · Contrast checker → · Palette generator →

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