#ABCD40#ABCD40

#ABCD40 is a light, vivid yellow-green. Relative luminance 0.527; OKLCH L 79.7% C 0.168 H 122.1°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#ABCD40
RGBrgb(171, 205, 64)
HSLhsl(74, 59%, 53%)
HSVhsv(74, 69%, 80%)
CMYKcmyk(16.6%, 0%, 68.8%, 19.6%)
CIE-LABlab(77.69, -30.56, 63.22)
CIE-LCHlch(77.69, 70.21, 115.80°)
OKLaboklab(79.72% -0.0891 0.1421)
OKLCHoklch(79.72% 0.168 122.1)
XYZxyz(39.5518, 52.6907, 12.9361)
Luminance0.5269 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABCD40 #6240CD
analogous
#CDA840 #ABCD40 #65CD40
triadic
#ABCD40 #40ABCD #CD40AB
tetradic
#ABCD40 #40CDA8 #6240CD #CD4065
square
#ABCD40 #40CDA8 #6240CD #CD4065
split-complementary
#ABCD40 #4065CD #A840CD
monochromatic
#60741E #87A52B #ABCD40 #C0DA71 #D6E6A1

Accessibility & contrast

On white

1.82
#ABCD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#ABCD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABCD40
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABCD40#FFFFFF#000000##000000
##ABCD401.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12A
Deuteranopia (green-blind)
#D5C04B
Tritanopia (blue-blind)
#B4C3B1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #abcd40;
/* rgb */ color: rgb(171, 205, 64);
/* oklch */ color: oklch(79.7% 0.168 122.1);
Tailwind
colors: {
  custom: {
    50: '#c7dc7d',
    500: '#abcd40',
    950: '#000000',
  },
}
SCSS
$custom: #abcd40;
$custom-light: #c7dc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#abcd40",
  "rgb": {
    "r": 171,
    "g": 205,
    "b": 64
  },
  "hsl": {
    "h": 74.468,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.79725,
    "c": 0.16775,
    "h": 122.1
  },
  "luminance": 0.52691
}

Semantic roles & 50–950 ramp

primary
#ABCD40
secondary
#46347D
accent
#46E26C
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #ABCD40

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

Preview Lab → · Contrast checker → · Palette generator →

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