#ABBF40#ABBF40

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

Color values

HEX#ABBF40
RGBrgb(171, 191, 64)
HSLhsl(69, 50%, 50%)
HSVhsv(69, 66%, 75%)
CMYKcmyk(10.5%, 0%, 66.5%, 25.1%)
CIE-LABlab(73.73, -23.84, 59.17)
CIE-LCHlch(73.73, 63.80, 111.95°)
OKLaboklab(76.54% -0.0705 0.1336)
OKLCHoklch(76.54% 0.151 117.8)
XYZxyz(36.3515, 46.2900, 11.8694)
Luminance0.4629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBF40 #5440BF
analogous
#BF9440 #ABBF40 #6BBF40
triadic
#ABBF40 #40ABBF #BF40AB
tetradic
#ABBF40 #40BF94 #5440BF #BF406B
square
#ABBF40 #40BF94 #5440BF #BF406B
split-complementary
#ABBF40 #406BBF #9440BF
monochromatic
#596321 #829131 #ABBF40 #BFCE6E #D3DE9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABBF40#FFFFFF#000000##000000
##ABBF401.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)
#CBB52E
Deuteranopia (green-blind)
#C9B649
Tritanopia (blue-blind)
#B5B5A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #abbf40;
/* rgb */ color: rgb(171, 191, 64);
/* oklch */ color: oklch(76.5% 0.151 117.8);
Tailwind
colors: {
  custom: {
    50: '#c7d27c',
    500: '#abbf40',
    950: '#000000',
  },
}
SCSS
$custom: #abbf40;
$custom-light: #c7d27c;
$custom-dark: #000000;
JSON
{
  "hex": "#abbf40",
  "rgb": {
    "r": 171,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 69.449,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.76538,
    "c": 0.15109,
    "h": 117.8
  },
  "luminance": 0.4629
}

Semantic roles & 50–950 ramp

primary
#ABBF40
secondary
#9A91CA
accent
#4ED964
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13140A
muted
#82827C

Preview Lab

Preview with #ABBF40

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

Preview Lab → · Contrast checker → · Palette generator →

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