#ABAF39#ABAF39

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

Color values

HEX#ABAF39
RGBrgb(171, 175, 57)
HSLhsl(62, 51%, 45%)
HSVhsv(62, 67%, 69%)
CMYKcmyk(2.3%, 0%, 67.4%, 31.4%)
CIE-LABlab(69.19, -16.28, 57.30)
CIE-LCHlch(69.19, 59.57, 105.86°)
OKLaboklab(72.88% -0.05 0.1286)
OKLCHoklch(72.88% 0.138 111.3)
XYZxyz(32.8641, 39.6141, 9.7852)
Luminance0.3961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF39 #3D39AF
analogous
#AF7839 #ABAF39 #70AF39
triadic
#ABAF39 #39ABAF #AF39AB
tetradic
#ABAF39 #39AF78 #3D39AF #AF3970
square
#ABAF39 #39AF78 #3D39AF #AF3970
split-complementary
#ABAF39 #3970AF #7839AF
monochromatic
#51531B #7E812A #ABAF39 #C6CA5B #D6D98A

Accessibility & contrast

On white

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

On black

8.92
#ABAF39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAF39
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAF39#FFFFFF#000000##000000
##ABAF391.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA728
Deuteranopia (green-blind)
#BDAA41
Tritanopia (blue-blind)
#B7A497
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #abaf39;
/* rgb */ color: rgb(171, 175, 57);
/* oklch */ color: oklch(72.9% 0.138 111.3);
Tailwind
colors: {
  custom: {
    50: '#c7c676',
    500: '#abaf39',
    950: '#000000',
  },
}
SCSS
$custom: #abaf39;
$custom-light: #c7c676;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf39",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 57
  },
  "hsl": {
    "h": 62.034,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72883,
    "c": 0.13799,
    "h": 111.3
  },
  "luminance": 0.39613
}

Semantic roles & 50–950 ramp

primary
#ABAF39
secondary
#8381C3
accent
#4DDA52
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #ABAF39

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

Preview Lab → · Contrast checker → · Palette generator →

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