#ABC931#ABC931

#ABC931 is a light, vivid yellow-green. Relative luminance 0.507; OKLCH L 78.7% C 0.172 H 120.5°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#ABC931
RGBrgb(171, 201, 49)
HSLhsl(72, 61%, 49%)
HSVhsv(72, 76%, 79%)
CMYKcmyk(14.9%, 0%, 75.6%, 21.2%)
CIE-LABlab(76.47, -29.47, 67.23)
CIE-LCHlch(76.47, 73.40, 113.67°)
OKLaboklab(78.71% -0.0874 0.1482)
OKLCHoklch(78.71% 0.172 120.5)
XYZxyz(38.2363, 50.6531, 10.6678)
Luminance0.5065 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC931 #4F31C9
analogous
#C99B31 #ABC931 #5FC931
triadic
#ABC931 #31ABC9 #C931AB
tetradic
#ABC931 #31C99B #4F31C9 #C9315F
square
#ABC931 #31C99B #4F31C9 #C9315F
split-complementary
#ABC931 #315FC9 #9B31C9
monochromatic
#576719 #819825 #ABC931 #C0D85F #D4E490

Accessibility & contrast

On white

1.89
#ABC931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#ABC931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC931
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC931#FFFFFF#000000##000000
##ABC9311.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD09
Deuteranopia (green-blind)
#D2BD3F
Tritanopia (blue-blind)
#B5BEAC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #abc931;
/* rgb */ color: rgb(171, 201, 49);
/* oklch */ color: oklch(78.7% 0.172 120.5);
Tailwind
colors: {
  custom: {
    50: '#c8d975',
    500: '#abc931',
    950: '#000000',
  },
}
SCSS
$custom: #abc931;
$custom-light: #c8d975;
$custom-dark: #000000;
JSON
{
  "hex": "#abc931",
  "rgb": {
    "r": 171,
    "g": 201,
    "b": 49
  },
  "hsl": {
    "h": 71.842,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.7871,
    "c": 0.17201,
    "h": 120.5
  },
  "luminance": 0.50653
}

Semantic roles & 50–950 ramp

primary
#ABC931
secondary
#3B2D71
accent
#44E463
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #ABC931

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

Preview Lab → · Contrast checker → · Palette generator →

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