#ABBC31#ABBC31

#ABBC31 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 75.7% C 0.157 H 116.5°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#ABBC31
RGBrgb(171, 188, 49)
HSLhsl(67, 59%, 46%)
HSVhsv(67, 74%, 74%)
CMYKcmyk(9%, 0%, 73.9%, 26.3%)
CIE-LABlab(72.79, -23.20, 63.76)
CIE-LCHlch(72.79, 67.85, 110.00°)
OKLaboklab(75.75% -0.0701 0.1409)
OKLCHoklch(75.75% 0.157 116.5)
XYZxyz(35.3331, 44.8466, 9.7001)
Luminance0.4485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBC31 #4231BC
analogous
#BC8831 #ABBC31 #66BC31
triadic
#ABBC31 #31ABBC #BC31AB
tetradic
#ABBC31 #31BC88 #4231BC #BC3166
square
#ABBC31 #31BC88 #4231BC #BC3166
split-complementary
#ABBC31 #3166BC #8831BC
monochromatic
#535B18 #7F8B24 #ABBC31 #C4D357 #D5E088

Accessibility & contrast

On white

2.11
#ABBC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#ABBC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABBC31
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABBC31#FFFFFF#000000##000000
##ABBC311.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abbc31;
/* rgb */ color: rgb(171, 188, 49);
/* oklch */ color: oklch(75.7% 0.157 116.5);
Tailwind
colors: {
  custom: {
    50: '#c8d073',
    500: '#abbc31',
    950: '#000000',
  },
}
SCSS
$custom: #abbc31;
$custom-light: #c8d073;
$custom-dark: #000000;
JSON
{
  "hex": "#abbc31",
  "rgb": {
    "r": 171,
    "g": 188,
    "b": 49
  },
  "hsl": {
    "h": 67.338,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.75749,
    "c": 0.15734,
    "h": 116.5
  },
  "luminance": 0.44846
}

Semantic roles & 50–950 ramp

primary
#ABBC31
secondary
#887FCA
accent
#46E259
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141309
muted
#82827B

Preview Lab

Preview with #ABBC31

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

Preview Lab → · Contrast checker → · Palette generator →

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