#ABAF23#ABAF23

#ABAF23 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#ABAF23
RGBrgb(171, 175, 35)
HSLhsl(62, 67%, 41%)
HSVhsv(62, 80%, 69%)
CMYKcmyk(2.3%, 0%, 80%, 31.4%)
CIE-LABlab(69.07, -17.29, 64.71)
CIE-LCHlch(69.07, 66.98, 104.96°)
OKLaboklab(72.74% -0.0549 0.1404)
OKLCHoklch(72.74% 0.151 111.3)
XYZxyz(32.4291, 39.4401, 7.4942)
Luminance0.3944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF23 #2723AF
analogous
#AF6D23 #ABAF23 #65AF23
triadic
#ABAF23 #23ABAF #AF23AB
tetradic
#ABAF23 #23AF6D #2723AF #AF2365
square
#ABAF23 #23AF6D #2723AF #AF2365
split-complementary
#ABAF23 #2365AF #6D23AF
monochromatic
#47490F #797C19 #ABAF23 #D3D738 #DEE16B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABAF23#FFFFFF#000000##000000
##ABAF231.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: #abaf23;
/* rgb */ color: rgb(171, 175, 35);
/* oklch */ color: oklch(72.7% 0.151 111.3);
Tailwind
colors: {
  custom: {
    50: '#c8c66c',
    500: '#abaf23',
    950: '#000000',
  },
}
SCSS
$custom: #abaf23;
$custom-light: #c8c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf23",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 35
  },
  "hsl": {
    "h": 61.714,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.72743,
    "c": 0.15072,
    "h": 111.3
  },
  "luminance": 0.39439
}

Semantic roles & 50–950 ramp

primary
#ABAF23
secondary
#6966C7
accent
#3EEA43
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #ABAF23

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

Preview Lab → · Contrast checker → · Palette generator →

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