#ABC02F#ABC02F

#ABC02F 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#ABC02F
RGBrgb(171, 192, 47)
HSLhsl(69, 61%, 47%)
HSVhsv(69, 76%, 75%)
CMYKcmyk(10.9%, 0%, 75.5%, 24.7%)
CIE-LABlab(73.91, -25.25, 65.47)
CIE-LCHlch(73.91, 70.17, 111.09°)
OKLaboklab(76.65% -0.0759 0.1441)
OKLCHoklch(76.65% 0.163 117.8)
XYZxyz(36.1582, 46.5628, 9.7715)
Luminance0.4656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC02F #442FC0
analogous
#C08D2F #ABC02F #62C02F
triadic
#ABC02F #2FABC0 #C02FAB
tetradic
#ABC02F #2FC08D #442FC0 #C02F62
square
#ABC02F #2FC08D #442FC0 #C02F62
split-complementary
#ABC02F #2F62C0 #8D2FC0
monochromatic
#535E17 #7F8F23 #ABC02F #C3D656 #D5E288

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABC02F#FFFFFF#000000##000000
##ABC02F1.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)
#CDB50A
Deuteranopia (green-blind)
#CBB63C
Tritanopia (blue-blind)
#B6B5A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #abc02f;
/* rgb */ color: rgb(171, 192, 47);
/* oklch */ color: oklch(76.6% 0.163 117.8);
Tailwind
colors: {
  custom: {
    50: '#c8d373',
    500: '#abc02f',
    950: '#000000',
  },
}
SCSS
$custom: #abc02f;
$custom-light: #c8d373;
$custom-dark: #000000;
JSON
{
  "hex": "#abc02f",
  "rgb": {
    "r": 171,
    "g": 192,
    "b": 47
  },
  "hsl": {
    "h": 68.69,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76645,
    "c": 0.1629,
    "h": 117.8
  },
  "luminance": 0.46562
}

Semantic roles & 50–950 ramp

primary
#ABC02F
secondary
#8A7FCB
accent
#44E45B
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #ABC02F

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

Preview Lab → · Contrast checker → · Palette generator →

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