#ABAF22#ABAF22

#ABAF22 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.7% C 0.151 H 111.3°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#ABAF22
RGBrgb(171, 175, 34)
HSLhsl(62, 67%, 41%)
HSVhsv(62, 81%, 69%)
CMYKcmyk(2.3%, 0%, 80.6%, 31.4%)
CIE-LABlab(69.06, -17.33, 64.98)
CIE-LCHlch(69.06, 67.25, 104.93°)
OKLaboklab(72.74% -0.055 0.1408)
OKLCHoklch(72.74% 0.151 111.3)
XYZxyz(32.4145, 39.4342, 7.4171)
Luminance0.3943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF22 #2622AF
analogous
#AF6C22 #ABAF22 #64AF22
triadic
#ABAF22 #22ABAF #AF22AB
tetradic
#ABAF22 #22AF6C #2622AF #AF2264
square
#ABAF22 #22AF6C #2622AF #AF2264
split-complementary
#ABAF22 #2264AF #6C22AF
monochromatic
#47490E #797C18 #ABAF22 #D3D836 #DFE269

Accessibility & contrast

On white

2.36
#ABAF22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#ABAF22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAF22
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAF22#FFFFFF#000000##000000
##ABAF221.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BEAA30
Tritanopia (blue-blind)
#B7A496
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #abaf22;
/* rgb */ color: rgb(171, 175, 34);
/* oklch */ color: oklch(72.7% 0.151 111.3);
Tailwind
colors: {
  custom: {
    50: '#c8c66b',
    500: '#abaf22',
    950: '#000000',
  },
}
SCSS
$custom: #abaf22;
$custom-light: #c8c66b;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf22",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 34
  },
  "hsl": {
    "h": 61.702,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.72738,
    "c": 0.15116,
    "h": 111.3
  },
  "luminance": 0.39433
}

Semantic roles & 50–950 ramp

primary
#ABAF22
secondary
#6865C8
accent
#3DEA42
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #ABAF22

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

Preview Lab → · Contrast checker → · Palette generator →

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