#ABAE28#ABAE28

#ABAE28 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.5% C 0.147 H 110.9°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#ABAE28
RGBrgb(171, 174, 40)
HSLhsl(61, 63%, 42%)
HSVhsv(61, 77%, 68%)
CMYKcmyk(1.7%, 0%, 77%, 31.8%)
CIE-LABlab(68.81, -16.60, 62.99)
CIE-LCHlch(68.81, 65.14, 104.76°)
OKLaboklab(72.55% -0.0525 0.1376)
OKLCHoklch(72.55% 0.147 110.9)
XYZxyz(32.3148, 39.0841, 7.8488)
Luminance0.3908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAE28 #2B28AE
analogous
#AE6E28 #ABAE28 #68AE28
triadic
#ABAE28 #28ABAE #AE28AB
tetradic
#ABAE28 #28AE6E #2B28AE #AE2868
square
#ABAE28 #28AE6E #2B28AE #AE2868
split-complementary
#ABAE28 #2868AE #6E28AE
monochromatic
#494A11 #7A7C1D #ABAE28 #D0D340 #DCDF72

Accessibility & contrast

On white

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

On black

8.82
#ABAE28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAE28
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAE28#FFFFFF#000000##000000
##ABAE281.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA601
Deuteranopia (green-blind)
#BDAA34
Tritanopia (blue-blind)
#B7A395
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #abae28;
/* rgb */ color: rgb(171, 174, 40);
/* oklch */ color: oklch(72.5% 0.147 110.9);
Tailwind
colors: {
  custom: {
    50: '#c8c56e',
    500: '#abae28',
    950: '#000000',
  },
}
SCSS
$custom: #abae28;
$custom-light: #c8c56e;
$custom-dark: #000000;
JSON
{
  "hex": "#abae28",
  "rgb": {
    "r": 171,
    "g": 174,
    "b": 40
  },
  "hsl": {
    "h": 61.343,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.72545,
    "c": 0.14732,
    "h": 110.9
  },
  "luminance": 0.39083
}

Semantic roles & 50–950 ramp

primary
#ABAE28
secondary
#6E6CC6
accent
#42E646
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141208
muted
#82817B

Preview Lab

Preview with #ABAE28

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

Preview Lab → · Contrast checker → · Palette generator →

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