#ABCF40#ABCF40

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

Color values

HEX#ABCF40
RGBrgb(171, 207, 64)
HSLhsl(75, 60%, 53%)
HSVhsv(75, 69%, 81%)
CMYKcmyk(17.4%, 0%, 69.1%, 18.8%)
CIE-LABlab(78.26, -31.49, 63.79)
CIE-LCHlch(78.26, 71.14, 116.27°)
OKLaboklab(80.18% -0.0917 0.1433)
OKLCHoklch(80.18% 0.17 122.6)
XYZxyz(40.0333, 53.6536, 13.0966)
Luminance0.5365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABCF40 #6440CF
analogous
#CFAC40 #ABCF40 #63CF40
triadic
#ABCF40 #40ABCF #CF40AB
tetradic
#ABCF40 #40CFAC #6440CF #CF4063
square
#ABCF40 #40CFAC #6440CF #CF4063
split-complementary
#ABCF40 #4063CF #AC40CF
monochromatic
#60771E #88A82A #ABCF40 #C1DB71 #D6E8A2

Accessibility & contrast

On white

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

On black

11.73
#ABCF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABCF40
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABCF40#FFFFFF#000000##000000
##ABCF401.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abcf40;
/* rgb */ color: rgb(171, 207, 64);
/* oklch */ color: oklch(80.2% 0.170 122.6);
Tailwind
colors: {
  custom: {
    50: '#c7dd7d',
    500: '#abcf40',
    950: '#000000',
  },
}
SCSS
$custom: #abcf40;
$custom-light: #c7dd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#abcf40",
  "rgb": {
    "r": 171,
    "g": 207,
    "b": 64
  },
  "hsl": {
    "h": 75.105,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80183,
    "c": 0.17015,
    "h": 122.6
  },
  "luminance": 0.53654
}

Semantic roles & 50–950 ramp

primary
#ABCF40
secondary
#47347F
accent
#45E36D
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #ABCF40

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

Preview Lab → · Contrast checker → · Palette generator →

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