#ABCD42#ABCD42

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

Color values

HEX#ABCD42
RGBrgb(171, 205, 66)
HSLhsl(75, 58%, 53%)
HSVhsv(75, 68%, 80%)
CMYKcmyk(16.6%, 0%, 67.8%, 19.6%)
CIE-LABlab(77.71, -30.43, 62.47)
CIE-LCHlch(77.71, 69.49, 115.97°)
OKLaboklab(79.74% -0.0886 0.1409)
OKLCHoklch(79.74% 0.166 122.2)
XYZxyz(39.6098, 52.7138, 13.2413)
Luminance0.5271 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABCD42 #6442CD
analogous
#CDA942 #ABCD42 #65CD42
triadic
#ABCD42 #42ABCD #CD42AB
tetradic
#ABCD42 #42CDA9 #6442CD #CD4265
square
#ABCD42 #42CDA9 #6442CD #CD4265
split-complementary
#ABCD42 #4265CD #A942CD
monochromatic
#60761F #88A62C #ABCD42 #C1DA72 #D6E7A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABCD42#FFFFFF#000000##000000
##ABCD421.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)
#D9C12D
Deuteranopia (green-blind)
#D5C04D
Tritanopia (blue-blind)
#B4C3B1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #abcd42;
/* rgb */ color: rgb(171, 205, 66);
/* oklch */ color: oklch(79.7% 0.166 122.2);
Tailwind
colors: {
  custom: {
    50: '#c7dc7e',
    500: '#abcd42',
    950: '#000000',
  },
}
SCSS
$custom: #abcd42;
$custom-light: #c7dc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#abcd42",
  "rgb": {
    "r": 171,
    "g": 205,
    "b": 66
  },
  "hsl": {
    "h": 74.676,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.7974,
    "c": 0.16641,
    "h": 122.2
  },
  "luminance": 0.52714
}

Semantic roles & 50–950 ramp

primary
#ABCD42
secondary
#47357E
accent
#46E16C
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #ABCD42

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

Preview Lab → · Contrast checker → · Palette generator →

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