#ABC12D#ABC12D

#ABC12D is a light, vivid yellow. Relative luminance 0.470; OKLCH L 76.9% C 0.165 H 118.1°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#ABC12D
RGBrgb(171, 193, 45)
HSLhsl(69, 62%, 47%)
HSVhsv(69, 77%, 76%)
CMYKcmyk(11.4%, 0%, 76.7%, 24.3%)
CIE-LABlab(74.18, -25.82, 66.36)
CIE-LCHlch(74.18, 71.20, 111.26°)
OKLaboklab(76.86% -0.0776 0.1457)
OKLCHoklch(76.86% 0.165 118.1)
XYZxyz(36.3391, 46.9877, 9.6373)
Luminance0.4699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC12D #432DC1
analogous
#C18D2D #ABC12D #61C12D
triadic
#ABC12D #2DABC1 #C12DAB
tetradic
#ABC12D #2DC18D #432DC1 #C12D61
square
#ABC12D #2DC18D #432DC1 #C12D61
split-complementary
#ABC12D #2D61C1 #8D2DC1
monochromatic
#535E16 #7F8F21 #ABC12D #C4D754 #D5E386

Accessibility & contrast

On white

2.02
#ABC12D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#ABC12D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC12D
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC12D#FFFFFF#000000##000000
##ABC12D1.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB601
Deuteranopia (green-blind)
#CCB73B
Tritanopia (blue-blind)
#B6B6A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #abc12d;
/* rgb */ color: rgb(171, 193, 45);
/* oklch */ color: oklch(76.9% 0.165 118.1);
Tailwind
colors: {
  custom: {
    50: '#c8d372',
    500: '#abc12d',
    950: '#000000',
  },
}
SCSS
$custom: #abc12d;
$custom-light: #c8d372;
$custom-dark: #000000;
JSON
{
  "hex": "#abc12d",
  "rgb": {
    "r": 171,
    "g": 193,
    "b": 45
  },
  "hsl": {
    "h": 68.919,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.76861,
    "c": 0.16506,
    "h": 118.1
  },
  "luminance": 0.46987
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ABC12D

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

Preview Lab → · Contrast checker → · Palette generator →

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