#ABCF51#ABCF51

#ABCF51 is a light, vivid yellow-green. Relative luminance 0.539; OKLCH L 80.3% C 0.158 H 123.4°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#ABCF51
RGBrgb(171, 207, 81)
HSLhsl(77, 57%, 56%)
HSVhsv(77, 61%, 81%)
CMYKcmyk(17.4%, 0%, 60.9%, 18.8%)
CIE-LABlab(78.39, -30.32, 57.11)
CIE-LCHlch(78.39, 64.65, 117.96°)
OKLaboklab(80.33% -0.0869 0.1316)
OKLCHoklch(80.33% 0.158 123.4)
XYZxyz(40.5929, 53.8774, 16.0438)
Luminance0.5388 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABCF51 #7551CF
analogous
#CFB451 #ABCF51 #6CCF51
triadic
#ABCF51 #51ABCF #CF51AB
tetradic
#ABCF51 #51CFB4 #7551CF #CF516C
square
#ABCF51 #51CFB4 #7551CF #CF516C
split-complementary
#ABCF51 #516CCF #B451CF
monochromatic
#678224 #8DB231 #ABCF51 #C2DC81 #D9E9B1

Accessibility & contrast

On white

1.78
#ABCF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#ABCF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABCF51
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABCF51#FFFFFF#000000##000000
##ABCF511.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC342
Deuteranopia (green-blind)
#D5C25A
Tritanopia (blue-blind)
#B3C5B4
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #abcf51;
/* rgb */ color: rgb(171, 207, 81);
/* oklch */ color: oklch(80.3% 0.158 123.4);
Tailwind
colors: {
  custom: {
    50: '#c7dd87',
    500: '#abcf51',
    950: '#000000',
  },
}
SCSS
$custom: #abcf51;
$custom-light: #c7dd87;
$custom-dark: #000000;
JSON
{
  "hex": "#abcf51",
  "rgb": {
    "r": 171,
    "g": 207,
    "b": 81
  },
  "hsl": {
    "h": 77.143,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.8033,
    "c": 0.15766,
    "h": 123.4
  },
  "luminance": 0.53878
}

Semantic roles & 50–950 ramp

primary
#ABCF51
secondary
#513B89
accent
#48E073
background
#FEFEFC
surface
#FAFCF3
border
#D3D5CD
text
#13150C
muted
#83847F

Preview Lab

Preview with #ABCF51

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

Preview Lab → · Contrast checker → · Palette generator →

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