#ABBB23#ABBB23

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

Color values

HEX#ABBB23
RGBrgb(171, 187, 35)
HSLhsl(66, 68%, 44%)
HSVhsv(66, 81%, 73%)
CMYKcmyk(8.6%, 0%, 81.3%, 26.7%)
CIE-LABlab(72.44, -23.28, 67.66)
CIE-LCHlch(72.44, 71.55, 108.99°)
OKLaboklab(75.45% -0.0714 0.1467)
OKLCHoklch(75.45% 0.163 115.9)
XYZxyz(34.8693, 44.3205, 8.3076)
Luminance0.4432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBB23 #3323BB
analogous
#BB7F23 #ABBB23 #5FBB23
triadic
#ABBB23 #23ABBB #BB23AB
tetradic
#ABBB23 #23BB7F #3323BB #BB235F
square
#ABBB23 #23BB7F #3323BB #BB235F
split-complementary
#ABBB23 #235FBB #7F23BB
monochromatic
#4D5410 #7C8719 #ABBB23 #CBDB40 #D9E574

Accessibility & contrast

On white

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

On black

9.86
#ABBB23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABBB23
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABBB23#FFFFFF#000000##000000
##ABBB231.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.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: #abbb23;
/* rgb */ color: rgb(171, 187, 35);
/* oklch */ color: oklch(75.4% 0.163 115.9);
Tailwind
colors: {
  custom: {
    50: '#c8cf6d',
    500: '#abbb23',
    950: '#000000',
  },
}
SCSS
$custom: #abbb23;
$custom-light: #c8cf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#abbb23",
  "rgb": {
    "r": 171,
    "g": 187,
    "b": 35
  },
  "hsl": {
    "h": 66.316,
    "s": 68.468,
    "l": 43.529
  },
  "oklch": {
    "l": 0.75448,
    "c": 0.16317,
    "h": 115.9
  },
  "luminance": 0.4432
}

Semantic roles & 50–950 ramp

primary
#ABBB23
secondary
#786ECC
accent
#3CEB4F
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABBB23

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

Preview Lab → · Contrast checker → · Palette generator →

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