#ABAE22#ABAE22

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

Color values

HEX#ABAE22
RGBrgb(171, 174, 34)
HSLhsl(61, 67%, 41%)
HSVhsv(61, 80%, 68%)
CMYKcmyk(1.7%, 0%, 80.5%, 31.8%)
CIE-LABlab(68.78, -16.82, 64.74)
CIE-LCHlch(68.78, 66.89, 104.56°)
OKLaboklab(72.52% -0.0536 0.1403)
OKLCHoklch(72.52% 0.15 110.9)
XYZxyz(32.2206, 39.0464, 7.3525)
Luminance0.3905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAE22 #2522AE
analogous
#AE6B22 #ABAE22 #65AE22
triadic
#ABAE22 #22ABAE #AE22AB
tetradic
#ABAE22 #22AE6B #2522AE #AE2265
square
#ABAE22 #22AE6B #2522AE #AE2265
split-complementary
#ABAE22 #2265AE #6B22AE
monochromatic
#46480E #797B18 #ABAE22 #D4D836 #DFE269

Accessibility & contrast

On white

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

On black

8.81
#ABAE22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAE22
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAE22#FFFFFF#000000##000000
##ABAE221.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abae22;
/* rgb */ color: rgb(171, 174, 34);
/* oklch */ color: oklch(72.5% 0.150 110.9);
Tailwind
colors: {
  custom: {
    50: '#c8c56b',
    500: '#abae22',
    950: '#000000',
  },
}
SCSS
$custom: #abae22;
$custom-light: #c8c56b;
$custom-dark: #000000;
JSON
{
  "hex": "#abae22",
  "rgb": {
    "r": 171,
    "g": 174,
    "b": 34
  },
  "hsl": {
    "h": 61.286,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.72515,
    "c": 0.15017,
    "h": 110.9
  },
  "luminance": 0.39046
}

Semantic roles & 50–950 ramp

primary
#ABAE22
secondary
#6764C7
accent
#3EEA41
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141207
muted
#82817A

Preview Lab

Preview with #ABAE22

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

Preview Lab → · Contrast checker → · Palette generator →

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