#ABBF42#ABBF42

#ABBF42 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.6% C 0.150 H 117.9°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#ABBF42
RGBrgb(171, 191, 66)
HSLhsl(70, 49%, 50%)
HSVhsv(70, 65%, 75%)
CMYKcmyk(10.5%, 0%, 65.4%, 25.1%)
CIE-LABlab(73.75, -23.72, 58.39)
CIE-LCHlch(73.75, 63.02, 112.11°)
OKLaboklab(76.55% -0.0699 0.1323)
OKLCHoklch(76.55% 0.15 117.9)
XYZxyz(36.4095, 46.3132, 12.1745)
Luminance0.4631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBF42 #5642BF
analogous
#BF9442 #ABBF42 #6CBF42
triadic
#ABBF42 #42ABBF #BF42AB
tetradic
#ABBF42 #42BF94 #5642BF #BF426C
square
#ABBF42 #42BF94 #5642BF #BF426C
split-complementary
#ABBF42 #426CBF #9442BF
monochromatic
#5A6522 #839232 #ABBF42 #BFCE70 #D4DE9D

Accessibility & contrast

On white

2.05
#ABBF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#ABBF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABBF42
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABBF42#FFFFFF#000000##000000
##ABBF421.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB531
Deuteranopia (green-blind)
#C9B64B
Tritanopia (blue-blind)
#B5B5A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #abbf42;
/* rgb */ color: rgb(171, 191, 66);
/* oklch */ color: oklch(76.6% 0.150 117.9);
Tailwind
colors: {
  custom: {
    50: '#c7d27d',
    500: '#abbf42',
    950: '#000000',
  },
}
SCSS
$custom: #abbf42;
$custom-light: #c7d27d;
$custom-dark: #000000;
JSON
{
  "hex": "#abbf42",
  "rgb": {
    "r": 171,
    "g": 191,
    "b": 66
  },
  "hsl": {
    "h": 69.6,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.76554,
    "c": 0.14962,
    "h": 117.9
  },
  "luminance": 0.46313
}

Semantic roles & 50–950 ramp

primary
#ABBF42
secondary
#9B93CA
accent
#4FD965
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13140A
muted
#82827C

Preview Lab

Preview with #ABBF42

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

Preview Lab → · Contrast checker → · Palette generator →

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