#ABAE40#ABAE40

#ABAE40 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.7% C 0.132 H 110.8°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#ABAE40
RGBrgb(171, 174, 64)
HSLhsl(62, 46%, 47%)
HSVhsv(62, 63%, 68%)
CMYKcmyk(1.7%, 0%, 63.2%, 31.8%)
CIE-LABlab(68.97, -15.33, 54.19)
CIE-LCHlch(68.97, 56.32, 105.80°)
OKLaboklab(72.72% -0.0467 0.1231)
OKLCHoklch(72.72% 0.132 110.8)
XYZxyz(32.8570, 39.3010, 10.7045)
Luminance0.3930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAE40 #4340AE
analogous
#AE7A40 #ABAE40 #74AE40
triadic
#ABAE40 #40ABAE #AE40AB
tetradic
#ABAE40 #40AE7A #4340AE #AE4074
square
#ABAE40 #40AE7A #4340AE #AE4074
split-complementary
#ABAE40 #4074AE #7A40AE
monochromatic
#53551F #7F8130 #ABAE40 #C4C665 #D5D792

Accessibility & contrast

On white

2.37
#ABAE40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#ABAE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAE40
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAE40#FFFFFF#000000##000000
##ABAE401.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA732
Deuteranopia (green-blind)
#BCAA47
Tritanopia (blue-blind)
#B6A497
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #abae40;
/* rgb */ color: rgb(171, 174, 64);
/* oklch */ color: oklch(72.7% 0.132 110.8);
Tailwind
colors: {
  custom: {
    50: '#c7c67a',
    500: '#abae40',
    950: '#000000',
  },
}
SCSS
$custom: #abae40;
$custom-light: #c7c67a;
$custom-dark: #000000;
JSON
{
  "hex": "#abae40",
  "rgb": {
    "r": 171,
    "g": 174,
    "b": 64
  },
  "hsl": {
    "h": 61.636,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.7272,
    "c": 0.13167,
    "h": 110.8
  },
  "luminance": 0.393
}

Semantic roles & 50–950 ramp

primary
#ABAE40
secondary
#8988C2
accent
#52D656
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #ABAE40

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

Preview Lab → · Contrast checker → · Palette generator →

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