#ABBF31#ABBF31

#ABBF31 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.4% C 0.161 H 117.5°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#ABBF31
RGBrgb(171, 191, 49)
HSLhsl(68, 59%, 47%)
HSVhsv(68, 74%, 75%)
CMYKcmyk(10.5%, 0%, 74.3%, 25.1%)
CIE-LABlab(73.64, -24.67, 64.57)
CIE-LCHlch(73.64, 69.12, 110.91°)
OKLaboklab(76.43% -0.0741 0.1426)
OKLCHoklch(76.43% 0.161 117.5)
XYZxyz(35.9806, 46.1417, 9.9159)
Luminance0.4614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBF31 #4531BF
analogous
#BF8C31 #ABBF31 #64BF31
triadic
#ABBF31 #31ABBF #BF31AB
tetradic
#ABBF31 #31BF8C #4531BF #BF3164
square
#ABBF31 #31BF8C #4531BF #BF3164
split-complementary
#ABBF31 #3164BF #8C31BF
monochromatic
#545E18 #7F8E25 #ABBF31 #C3D459 #D5E18A

Accessibility & contrast

On white

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

On black

10.23
#ABBF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABBF31
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABBF31#FFFFFF#000000##000000
##ABBF311.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB511
Deuteranopia (green-blind)
#CAB63D
Tritanopia (blue-blind)
#B6B4A4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #abbf31;
/* rgb */ color: rgb(171, 191, 49);
/* oklch */ color: oklch(76.4% 0.161 117.5);
Tailwind
colors: {
  custom: {
    50: '#c8d274',
    500: '#abbf31',
    950: '#000000',
  },
}
SCSS
$custom: #abbf31;
$custom-light: #c8d274;
$custom-dark: #000000;
JSON
{
  "hex": "#abbf31",
  "rgb": {
    "r": 171,
    "g": 191,
    "b": 49
  },
  "hsl": {
    "h": 68.451,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.7643,
    "c": 0.16068,
    "h": 117.5
  },
  "luminance": 0.46141
}

Semantic roles & 50–950 ramp

primary
#ABBF31
secondary
#8B81CB
accent
#45E25C
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #ABBF31

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

Preview Lab → · Contrast checker → · Palette generator →

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