#ABC02D#ABC02D

#ABC02D is a light, vivid yellow. Relative luminance 0.465; OKLCH L 76.6% C 0.164 H 117.7°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#ABC02D
RGBrgb(171, 192, 45)
HSLhsl(69, 62%, 46%)
HSVhsv(69, 77%, 75%)
CMYKcmyk(10.9%, 0%, 76.6%, 24.7%)
CIE-LABlab(73.90, -25.34, 66.09)
CIE-LCHlch(73.90, 70.78, 110.97°)
OKLaboklab(76.63% -0.0763 0.1451)
OKLCHoklch(76.63% 0.164 117.7)
XYZxyz(36.1188, 46.5470, 9.5639)
Luminance0.4655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC02D #422DC0
analogous
#C08C2D #ABC02D #62C02D
triadic
#ABC02D #2DABC0 #C02DAB
tetradic
#ABC02D #2DC08C #422DC0 #C02D62
square
#ABC02D #2DC08C #422DC0 #C02D62
split-complementary
#ABC02D #2D62C0 #8C2DC0
monochromatic
#535D16 #7F8E21 #ABC02D #C4D753 #D5E285

Accessibility & contrast

On white

2.04
#ABC02D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#ABC02D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC02D
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC02D#FFFFFF#000000##000000
##ABC02D1.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB502
Deuteranopia (green-blind)
#CBB63B
Tritanopia (blue-blind)
#B6B5A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #abc02d;
/* rgb */ color: rgb(171, 192, 45);
/* oklch */ color: oklch(76.6% 0.164 117.7);
Tailwind
colors: {
  custom: {
    50: '#c8d372',
    500: '#abc02d',
    950: '#000000',
  },
}
SCSS
$custom: #abc02d;
$custom-light: #c8d372;
$custom-dark: #000000;
JSON
{
  "hex": "#abc02d",
  "rgb": {
    "r": 171,
    "g": 192,
    "b": 45
  },
  "hsl": {
    "h": 68.571,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.76634,
    "c": 0.16394,
    "h": 117.7
  },
  "luminance": 0.46547
}

Semantic roles & 50–950 ramp

primary
#ABC02D
secondary
#887DCC
accent
#43E55A
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #ABC02D

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

Preview Lab → · Contrast checker → · Palette generator →

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