#ABBD31#ABBD31

#ABBD31 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.0% C 0.158 H 116.8°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#ABBD31
RGBrgb(171, 189, 49)
HSLhsl(68, 59%, 47%)
HSVhsv(68, 74%, 74%)
CMYKcmyk(9.5%, 0%, 74.1%, 25.9%)
CIE-LABlab(73.07, -23.69, 64.03)
CIE-LCHlch(73.07, 68.27, 110.31°)
OKLaboklab(75.98% -0.0714 0.1414)
OKLCHoklch(75.98% 0.158 116.8)
XYZxyz(35.5474, 45.2753, 9.7715)
Luminance0.4527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBD31 #4331BD
analogous
#BD8931 #ABBD31 #65BD31
triadic
#ABBD31 #31ABBD #BD31AB
tetradic
#ABBD31 #31BD89 #4331BD #BD3165
square
#ABBD31 #31BD89 #4331BD #BD3165
split-complementary
#ABBD31 #3165BD #8931BD
monochromatic
#535C18 #7F8C24 #ABBD31 #C4D458 #D5E088

Accessibility & contrast

On white

2.09
#ABBD31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#ABBD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABBD31
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABBD31#FFFFFF#000000##000000
##ABBD311.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB312
Deuteranopia (green-blind)
#C8B43D
Tritanopia (blue-blind)
#B6B2A2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #abbd31;
/* rgb */ color: rgb(171, 189, 49);
/* oklch */ color: oklch(76.0% 0.158 116.8);
Tailwind
colors: {
  custom: {
    50: '#c8d074',
    500: '#abbd31',
    950: '#000000',
  },
}
SCSS
$custom: #abbd31;
$custom-light: #c8d074;
$custom-dark: #000000;
JSON
{
  "hex": "#abbd31",
  "rgb": {
    "r": 171,
    "g": 189,
    "b": 49
  },
  "hsl": {
    "h": 67.714,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.75976,
    "c": 0.15845,
    "h": 116.8
  },
  "luminance": 0.45275
}

Semantic roles & 50–950 ramp

primary
#ABBD31
secondary
#8980CA
accent
#46E25A
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #ABBD31

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

Preview Lab → · Contrast checker → · Palette generator →

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