#ABCF42#ABCF42

#ABCF42 is a light, vivid yellow-green. Relative luminance 0.537; OKLCH L 80.2% C 0.169 H 122.7°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#ABCF42
RGBrgb(171, 207, 66)
HSLhsl(75, 59%, 54%)
HSVhsv(75, 68%, 81%)
CMYKcmyk(17.4%, 0%, 68.1%, 18.8%)
CIE-LABlab(78.27, -31.37, 63.05)
CIE-LCHlch(78.27, 70.43, 116.45°)
OKLaboklab(80.2% -0.0912 0.1421)
OKLCHoklch(80.2% 0.169 122.7)
XYZxyz(40.0912, 53.6768, 13.4017)
Luminance0.5368 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABCF42 #6642CF
analogous
#CFAC42 #ABCF42 #64CF42
triadic
#ABCF42 #42ABCF #CF42AB
tetradic
#ABCF42 #42CFAC #6642CF #CF4264
square
#ABCF42 #42CFAC #6642CF #CF4264
split-complementary
#ABCF42 #4264CF #AC42CF
monochromatic
#61781F #89A92B #ABCF42 #C1DB73 #D6E8A4

Accessibility & contrast

On white

1.79
#ABCF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#ABCF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABCF42
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABCF42#FFFFFF#000000##000000
##ABCF421.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC32C
Deuteranopia (green-blind)
#D6C14D
Tritanopia (blue-blind)
#B4C5B3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #abcf42;
/* rgb */ color: rgb(171, 207, 66);
/* oklch */ color: oklch(80.2% 0.169 122.7);
Tailwind
colors: {
  custom: {
    50: '#c7dd7e',
    500: '#abcf42',
    950: '#000000',
  },
}
SCSS
$custom: #abcf42;
$custom-light: #c7dd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#abcf42",
  "rgb": {
    "r": 171,
    "g": 207,
    "b": 66
  },
  "hsl": {
    "h": 75.319,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80198,
    "c": 0.16882,
    "h": 122.7
  },
  "luminance": 0.53677
}

Semantic roles & 50–950 ramp

primary
#ABCF42
secondary
#483580
accent
#45E36D
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #ABCF42

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

Preview Lab → · Contrast checker → · Palette generator →

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