#ABAE2A#ABAE2A

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

Color values

HEX#ABAE2A
RGBrgb(171, 174, 42)
HSLhsl(61, 61%, 42%)
HSVhsv(61, 76%, 68%)
CMYKcmyk(1.7%, 0%, 75.9%, 31.8%)
CIE-LABlab(68.82, -16.52, 62.36)
CIE-LCHlch(68.82, 64.51, 104.83°)
OKLaboklab(72.56% -0.0521 0.1367)
OKLCHoklch(72.56% 0.146 110.9)
XYZxyz(32.3497, 39.0981, 8.0326)
Luminance0.3910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAE2A #2D2AAE
analogous
#AE6F2A #ABAE2A #69AE2A
triadic
#ABAE2A #2AABAE #AE2AAB
tetradic
#ABAE2A #2AAE6F #2D2AAE #AE2A69
square
#ABAE2A #2AAE6F #2D2AAE #AE2A69
split-complementary
#ABAE2A #2A69AE #6F2AAE
monochromatic
#4A4B12 #7B7D1E #ABAE2A #CED243 #DBDE75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABAE2A#FFFFFF#000000##000000
##ABAE2A1.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)
#BCA608
Deuteranopia (green-blind)
#BDAA35
Tritanopia (blue-blind)
#B7A395
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #abae2a;
/* rgb */ color: rgb(171, 174, 42);
/* oklch */ color: oklch(72.6% 0.146 110.9);
Tailwind
colors: {
  custom: {
    50: '#c8c56f',
    500: '#abae2a',
    950: '#000000',
  },
}
SCSS
$custom: #abae2a;
$custom-light: #c8c56f;
$custom-dark: #000000;
JSON
{
  "hex": "#abae2a",
  "rgb": {
    "r": 171,
    "g": 174,
    "b": 42
  },
  "hsl": {
    "h": 61.364,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.72556,
    "c": 0.14627,
    "h": 110.9
  },
  "luminance": 0.39097
}

Semantic roles & 50–950 ramp

primary
#ABAE2A
secondary
#716FC5
accent
#44E447
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ABAE2A

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

Preview Lab → · Contrast checker → · Palette generator →

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