#ABCB40#ABCB40

#ABCB40 is a light, vivid yellow-green. Relative luminance 0.517; OKLCH L 79.3% C 0.165 H 121.5°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#ABCB40
RGBrgb(171, 203, 64)
HSLhsl(74, 57%, 52%)
HSVhsv(74, 68%, 80%)
CMYKcmyk(15.8%, 0%, 68.5%, 20.4%)
CIE-LABlab(77.13, -29.61, 62.64)
CIE-LCHlch(77.13, 69.29, 115.30°)
OKLaboklab(79.27% -0.0865 0.1409)
OKLCHoklch(79.27% 0.165 121.5)
XYZxyz(39.0765, 51.7400, 12.7777)
Luminance0.5174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABCB40 #6040CB
analogous
#CBA640 #ABCB40 #65CB40
triadic
#ABCB40 #40ABCB #CB40AB
tetradic
#ABCB40 #40CBA6 #6040CB #CB4065
square
#ABCB40 #40CBA6 #6040CB #CB4065
split-complementary
#ABCB40 #4065CB #A640CB
monochromatic
#5F721F #87A22C #ABCB40 #C0D870 #D5E5A0

Accessibility & contrast

On white

1.85
#ABCB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#ABCB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABCB40
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABCB40#FFFFFF#000000##000000
##ABCB401.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2A
Deuteranopia (green-blind)
#D3BF4B
Tritanopia (blue-blind)
#B4C1AF
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #abcb40;
/* rgb */ color: rgb(171, 203, 64);
/* oklch */ color: oklch(79.3% 0.165 121.5);
Tailwind
colors: {
  custom: {
    50: '#c7da7d',
    500: '#abcb40',
    950: '#000000',
  },
}
SCSS
$custom: #abcb40;
$custom-light: #c7da7d;
$custom-dark: #000000;
JSON
{
  "hex": "#abcb40",
  "rgb": {
    "r": 171,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 73.813,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.79268,
    "c": 0.16536,
    "h": 121.5
  },
  "luminance": 0.5174
}

Semantic roles & 50–950 ramp

primary
#ABCB40
secondary
#45357B
accent
#47E06B
background
#FEFEFB
surface
#FAFBF2
border
#D3D4CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #ABCB40

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

Preview Lab → · Contrast checker → · Palette generator →

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