#ABC940#ABC940

#ABC940 is a light, vivid yellow-green. Relative luminance 0.508; OKLCH L 78.8% C 0.163 H 121.0°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#ABC940
RGBrgb(171, 201, 64)
HSLhsl(73, 56%, 52%)
HSVhsv(73, 68%, 79%)
CMYKcmyk(14.9%, 0%, 68.2%, 21.2%)
CIE-LABlab(76.56, -28.67, 62.07)
CIE-LCHlch(76.56, 68.37, 114.79°)
OKLaboklab(78.81% -0.0839 0.1397)
OKLCHoklch(78.81% 0.163 121)
XYZxyz(38.6072, 50.8014, 12.6213)
Luminance0.5080 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC940 #5E40C9
analogous
#C9A340 #ABC940 #67C940
triadic
#ABC940 #40ABC9 #C940AB
tetradic
#ABC940 #40C9A3 #5E40C9 #C94067
square
#ABC940 #40C9A3 #5E40C9 #C94067
split-complementary
#ABC940 #4067C9 #A340C9
monochromatic
#5E6F1F #869F2D #ABC940 #C0D670 #D5E49F

Accessibility & contrast

On white

1.88
#ABC940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.16
#ABC940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC940
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC940#FFFFFF#000000##000000
##ABC9401.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2B
Deuteranopia (green-blind)
#D1BD4B
Tritanopia (blue-blind)
#B4BFAE
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #abc940;
/* rgb */ color: rgb(171, 201, 64);
/* oklch */ color: oklch(78.8% 0.163 121.0);
Tailwind
colors: {
  custom: {
    50: '#c7d97d',
    500: '#abc940',
    950: '#000000',
  },
}
SCSS
$custom: #abc940;
$custom-light: #c7d97d;
$custom-dark: #000000;
JSON
{
  "hex": "#abc940",
  "rgb": {
    "r": 171,
    "g": 201,
    "b": 64
  },
  "hsl": {
    "h": 73.139,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.78811,
    "c": 0.16296,
    "h": 121
  },
  "luminance": 0.50801
}

Semantic roles & 50–950 ramp

primary
#ABC940
secondary
#443578
accent
#49DF6A
background
#FEFEFB
surface
#FAFBF2
border
#D3D4CC
text
#13140A
muted
#83837D

Preview Lab

Preview with #ABC940

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

Preview Lab → · Contrast checker → · Palette generator →

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