#ABC831#ABC831

#ABC831 is a light, vivid yellow-green. Relative luminance 0.502; OKLCH L 78.5% C 0.171 H 120.2°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#ABC831
RGBrgb(171, 200, 49)
HSLhsl(72, 61%, 49%)
HSVhsv(72, 76%, 78%)
CMYKcmyk(14.5%, 0%, 75.5%, 21.6%)
CIE-LABlab(76.18, -28.99, 66.96)
CIE-LCHlch(76.18, 72.97, 113.41°)
OKLaboklab(78.48% -0.0861 0.1476)
OKLCHoklch(78.48% 0.171 120.2)
XYZxyz(38.0040, 50.1884, 10.5904)
Luminance0.5019 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC831 #4E31C8
analogous
#C89A31 #ABC831 #60C831
triadic
#ABC831 #31ABC8 #C831AB
tetradic
#ABC831 #31C89A #4E31C8 #C83160
square
#ABC831 #31C89A #4E31C8 #C83160
split-complementary
#ABC831 #3160C8 #9A31C8
monochromatic
#576619 #819725 #ABC831 #C0D85F #D4E490

Accessibility & contrast

On white

1.90
#ABC831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#ABC831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC831
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC831#FFFFFF#000000##000000
##ABC8311.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC0A
Deuteranopia (green-blind)
#D1BC3F
Tritanopia (blue-blind)
#B5BDAC
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #abc831;
/* rgb */ color: rgb(171, 200, 49);
/* oklch */ color: oklch(78.5% 0.171 120.2);
Tailwind
colors: {
  custom: {
    50: '#c8d875',
    500: '#abc831',
    950: '#000000',
  },
}
SCSS
$custom: #abc831;
$custom-light: #c8d875;
$custom-dark: #000000;
JSON
{
  "hex": "#abc831",
  "rgb": {
    "r": 171,
    "g": 200,
    "b": 49
  },
  "hsl": {
    "h": 71.523,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.78481,
    "c": 0.17087,
    "h": 120.2
  },
  "luminance": 0.50188
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ABC831

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

Preview Lab → · Contrast checker → · Palette generator →

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