#ABBB24#ABBB24

#ABBB24 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.5% C 0.163 H 116.0°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#ABBB24
RGBrgb(171, 187, 36)
HSLhsl(66, 68%, 44%)
HSVhsv(66, 81%, 73%)
CMYKcmyk(8.6%, 0%, 80.7%, 26.7%)
CIE-LABlab(72.45, -23.25, 67.40)
CIE-LCHlch(72.45, 71.29, 109.03°)
OKLaboklab(75.45% -0.0712 0.1463)
OKLCHoklch(75.45% 0.163 116)
XYZxyz(34.8843, 44.3265, 8.3869)
Luminance0.4433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBB24 #3424BB
analogous
#BB7F24 #ABBB24 #5FBB24
triadic
#ABBB24 #24ABBB #BB24AB
tetradic
#ABBB24 #24BB7F #3424BB #BB245F
square
#ABBB24 #24BB7F #3424BB #BB245F
split-complementary
#ABBB24 #245FBB #7F24BB
monochromatic
#4D5410 #7C881A #ABBB24 #CADB42 #D9E475

Accessibility & contrast

On white

2.13
#ABBB24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#ABBB24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABBB24
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABBB24#FFFFFF#000000##000000
##ABBB241.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#C7B333
Tritanopia (blue-blind)
#B6B0A0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #abbb24;
/* rgb */ color: rgb(171, 187, 36);
/* oklch */ color: oklch(75.5% 0.163 116.0);
Tailwind
colors: {
  custom: {
    50: '#c8cf6e',
    500: '#abbb24',
    950: '#000000',
  },
}
SCSS
$custom: #abbb24;
$custom-light: #c8cf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#abbb24",
  "rgb": {
    "r": 171,
    "g": 187,
    "b": 36
  },
  "hsl": {
    "h": 66.358,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.75453,
    "c": 0.16275,
    "h": 116
  },
  "luminance": 0.44326
}

Semantic roles & 50–950 ramp

primary
#ABBB24
secondary
#796FCC
accent
#3DEB50
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABBB24

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

Preview Lab → · Contrast checker → · Palette generator →

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