#ABC02E#ABC02E

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

Color values

HEX#ABC02E
RGBrgb(171, 192, 46)
HSLhsl(69, 61%, 47%)
HSVhsv(69, 76%, 75%)
CMYKcmyk(10.9%, 0%, 76%, 24.7%)
CIE-LABlab(73.90, -25.29, 65.79)
CIE-LCHlch(73.90, 70.48, 111.03°)
OKLaboklab(76.64% -0.0761 0.1446)
OKLCHoklch(76.64% 0.163 117.8)
XYZxyz(36.1382, 46.5548, 9.6665)
Luminance0.4655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC02E #432EC0
analogous
#C08C2E #ABC02E #62C02E
triadic
#ABC02E #2EABC0 #C02EAB
tetradic
#ABC02E #2EC08C #432EC0 #C02E62
square
#ABC02E #2EC08C #432EC0 #C02E62
split-complementary
#ABC02E #2E62C0 #8C2EC0
monochromatic
#535D16 #7F8F22 #ABC02E #C4D655 #D5E286

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABC02E#FFFFFF#000000##000000
##ABC02E1.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)
#CDB506
Deuteranopia (green-blind)
#CBB63B
Tritanopia (blue-blind)
#B6B5A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #abc02e;
/* rgb */ color: rgb(171, 192, 46);
/* oklch */ color: oklch(76.6% 0.163 117.8);
Tailwind
colors: {
  custom: {
    50: '#c8d373',
    500: '#abc02e',
    950: '#000000',
  },
}
SCSS
$custom: #abc02e;
$custom-light: #c8d373;
$custom-dark: #000000;
JSON
{
  "hex": "#abc02e",
  "rgb": {
    "r": 171,
    "g": 192,
    "b": 46
  },
  "hsl": {
    "h": 68.63,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.76639,
    "c": 0.16343,
    "h": 117.8
  },
  "luminance": 0.46554
}

Semantic roles & 50–950 ramp

primary
#ABC02E
secondary
#897ECC
accent
#43E45B
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #ABC02E

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

Preview Lab → · Contrast checker → · Palette generator →

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