#ABAE31#ABAE31

#ABAE31 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.6% C 0.142 H 110.8°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#ABAE31
RGBrgb(171, 174, 49)
HSLhsl(61, 56%, 44%)
HSVhsv(61, 72%, 68%)
CMYKcmyk(1.7%, 0%, 71.8%, 31.8%)
CIE-LABlab(68.86, -16.20, 60.00)
CIE-LCHlch(68.86, 62.15, 105.10°)
OKLaboklab(72.6% -0.0506 0.1329)
OKLCHoklch(72.6% 0.142 110.8)
XYZxyz(32.4861, 39.1527, 8.7511)
Luminance0.3915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAE31 #3431AE
analogous
#AE7231 #ABAE31 #6CAE31
triadic
#ABAE31 #31ABAE #AE31AB
tetradic
#ABAE31 #31AE72 #3431AE #AE316C
square
#ABAE31 #31AE72 #3431AE #AE316C
split-complementary
#ABAE31 #316CAE #7231AE
monochromatic
#4D4E16 #7C7E24 #ABAE31 #CACD4F #D9DB7F

Accessibility & contrast

On white

2.38
#ABAE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#ABAE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAE31
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAE31#FFFFFF#000000##000000
##ABAE311.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA61A
Deuteranopia (green-blind)
#BDAA3B
Tritanopia (blue-blind)
#B7A396
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #abae31;
/* rgb */ color: rgb(171, 174, 49);
/* oklch */ color: oklch(72.6% 0.142 110.8);
Tailwind
colors: {
  custom: {
    50: '#c7c572',
    500: '#abae31',
    950: '#000000',
  },
}
SCSS
$custom: #abae31;
$custom-light: #c7c572;
$custom-dark: #000000;
JSON
{
  "hex": "#abae31",
  "rgb": {
    "r": 171,
    "g": 174,
    "b": 49
  },
  "hsl": {
    "h": 61.44,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.726,
    "c": 0.14223,
    "h": 110.8
  },
  "luminance": 0.39152
}

Semantic roles & 50–950 ramp

primary
#ABAE31
secondary
#7977C4
accent
#48DF4C
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #ABAE31

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

Preview Lab → · Contrast checker → · Palette generator →

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