#ABC951#ABC951

#ABC951 is a light, vivid yellow-green. Relative luminance 0.510; OKLCH L 79.0% C 0.150 H 121.8°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#ABC951
RGBrgb(171, 201, 81)
HSLhsl(75, 53%, 55%)
HSVhsv(75, 60%, 79%)
CMYKcmyk(14.9%, 0%, 59.7%, 21.2%)
CIE-LABlab(76.69, -27.47, 55.24)
CIE-LCHlch(76.69, 61.69, 116.44°)
OKLaboklab(78.96% -0.079 0.1276)
OKLCHoklch(78.96% 0.15 121.8)
XYZxyz(39.1668, 51.0253, 15.5685)
Luminance0.5102 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC951 #6F51C9
analogous
#C9AB51 #ABC951 #6FC951
triadic
#ABC951 #51ABC9 #C951AB
tetradic
#ABC951 #51C9AB #6F51C9 #C9516F
square
#ABC951 #51C9AB #6F51C9 #C9516F
split-complementary
#ABC951 #516FC9 #AB51C9
monochromatic
#657A26 #8BA934 #ABC951 #C2D780 #D8E6AE

Accessibility & contrast

On white

1.87
#ABC951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#ABC951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC951
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC951#FFFFFF#000000##000000
##ABC9511.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE43
Deuteranopia (green-blind)
#D0BD59
Tritanopia (blue-blind)
#B3BFAF
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #abc951;
/* rgb */ color: rgb(171, 201, 81);
/* oklch */ color: oklch(79.0% 0.150 121.8);
Tailwind
colors: {
  custom: {
    50: '#c6d986',
    500: '#abc951',
    950: '#000000',
  },
}
SCSS
$custom: #abc951;
$custom-light: #c6d986;
$custom-dark: #000000;
JSON
{
  "hex": "#abc951",
  "rgb": {
    "r": 171,
    "g": 201,
    "b": 81
  },
  "hsl": {
    "h": 75,
    "s": 52.632,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78964,
    "c": 0.15005,
    "h": 121.8
  },
  "luminance": 0.51025
}

Semantic roles & 50–950 ramp

primary
#ABC951
secondary
#4E3C82
accent
#4CDC70
background
#FEFEFB
surface
#FAFBF2
border
#D3D4CC
text
#13140B
muted
#83837E

Preview Lab

Preview with #ABC951

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

Preview Lab → · Contrast checker → · Palette generator →

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