#ABAF49#ABAF49

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

Color values

HEX#ABAF49
RGBrgb(171, 175, 73)
HSLhsl(62, 41%, 49%)
HSVhsv(62, 58%, 69%)
CMYKcmyk(2.3%, 0%, 58.3%, 31.4%)
CIE-LABlab(69.33, -15.21, 50.62)
CIE-LCHlch(69.33, 52.85, 106.72°)
OKLaboklab(73.03% -0.0453 0.1168)
OKLCHoklch(73.03% 0.125 111.2)
XYZxyz(33.3280, 39.7997, 12.2285)
Luminance0.3980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF49 #4D49AF
analogous
#AF8049 #ABAF49 #78AF49
triadic
#ABAF49 #49ABAF #AF49AB
tetradic
#ABAF49 #49AF80 #4D49AF #AF4978
square
#ABAF49 #49AF80 #4D49AF #AF4978
split-complementary
#ABAF49 #4978AF #8049AF
monochromatic
#575925 #818437 #ABAF49 #C1C471 #D4D69C

Accessibility & contrast

On white

2.34
#ABAF49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#ABAF49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAF49
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAF49#FFFFFF#000000##000000
##ABAF491.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA83E
Deuteranopia (green-blind)
#BCAB4F
Tritanopia (blue-blind)
#B6A599
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #abaf49;
/* rgb */ color: rgb(171, 175, 73);
/* oklch */ color: oklch(73.0% 0.125 111.2);
Tailwind
colors: {
  custom: {
    50: '#c6c680',
    500: '#abaf49',
    950: '#000000',
  },
}
SCSS
$custom: #abaf49;
$custom-light: #c6c680;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf49",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 73
  },
  "hsl": {
    "h": 62.353,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.73032,
    "c": 0.12528,
    "h": 111.2
  },
  "luminance": 0.39799
}

Semantic roles & 50–950 ramp

primary
#ABAF49
secondary
#9391C2
accent
#57D15C
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130A
muted
#82827C

Preview Lab

Preview with #ABAF49

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

Preview Lab → · Contrast checker → · Palette generator →

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