#ABAF36#ABAF36

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

Color values

HEX#ABAF36
RGBrgb(171, 175, 54)
HSLhsl(62, 53%, 45%)
HSVhsv(62, 69%, 69%)
CMYKcmyk(2.3%, 0%, 69.1%, 31.4%)
CIE-LABlab(69.17, -16.44, 58.45)
CIE-LCHlch(69.17, 60.72, 105.71°)
OKLaboklab(72.86% -0.0508 0.1305)
OKLCHoklch(72.86% 0.14 111.3)
XYZxyz(32.7915, 39.5850, 9.4026)
Luminance0.3958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF36 #3A36AF
analogous
#AF7636 #ABAF36 #6FAF36
triadic
#ABAF36 #36ABAF #AF36AB
tetradic
#ABAF36 #36AF76 #3A36AF #AF366F
square
#ABAF36 #36AF76 #3A36AF #AF366F
split-complementary
#ABAF36 #366FAF #7636AF
monochromatic
#505119 #7D8028 #ABAF36 #C7CB57 #D7DA86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABAF36#FFFFFF#000000##000000
##ABAF361.002.368.928.92
#FFFFFF2.361.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abaf36;
/* rgb */ color: rgb(171, 175, 54);
/* oklch */ color: oklch(72.9% 0.140 111.3);
Tailwind
colors: {
  custom: {
    50: '#c7c675',
    500: '#abaf36',
    950: '#000000',
  },
}
SCSS
$custom: #abaf36;
$custom-light: #c7c675;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf36",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 54
  },
  "hsl": {
    "h": 61.983,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.7286,
    "c": 0.14006,
    "h": 111.3
  },
  "luminance": 0.39584
}

Semantic roles & 50–950 ramp

primary
#ABAF36
secondary
#807DC3
accent
#4CDC50
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #ABAF36

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

Preview Lab → · Contrast checker → · Palette generator →

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