#ABC12C#ABC12C

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

Color values

HEX#ABC12C
RGBrgb(171, 193, 44)
HSLhsl(69, 63%, 46%)
HSVhsv(69, 77%, 76%)
CMYKcmyk(11.4%, 0%, 77.2%, 24.3%)
CIE-LABlab(74.18, -25.86, 66.66)
CIE-LCHlch(74.18, 71.50, 111.21°)
OKLaboklab(76.86% -0.0778 0.1461)
OKLCHoklch(76.86% 0.166 118)
XYZxyz(36.3200, 46.9801, 9.5371)
Luminance0.4698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC12C #422CC1
analogous
#C18D2C #ABC12C #61C12C
triadic
#ABC12C #2CABC1 #C12CAB
tetradic
#ABC12C #2CC18D #422CC1 #C12C61
square
#ABC12C #2CC18D #422CC1 #C12C61
split-complementary
#ABC12C #2C61C1 #8D2CC1
monochromatic
#535D15 #7F8F21 #ABC12C #C4D853 #D5E384

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABC12C#FFFFFF#000000##000000
##ABC12C1.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)
#CEB600
Deuteranopia (green-blind)
#CCB73A
Tritanopia (blue-blind)
#B6B6A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #abc12c;
/* rgb */ color: rgb(171, 193, 44);
/* oklch */ color: oklch(76.9% 0.166 118.0);
Tailwind
colors: {
  custom: {
    50: '#c8d372',
    500: '#abc12c',
    950: '#000000',
  },
}
SCSS
$custom: #abc12c;
$custom-light: #c8d372;
$custom-dark: #000000;
JSON
{
  "hex": "#abc12c",
  "rgb": {
    "r": 171,
    "g": 193,
    "b": 44
  },
  "hsl": {
    "h": 68.859,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.76856,
    "c": 0.16556,
    "h": 118
  },
  "luminance": 0.4698
}

Semantic roles & 50–950 ramp

primary
#ABC12C
secondary
#887DCC
accent
#42E65A
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #ABC12C

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

Preview Lab → · Contrast checker → · Palette generator →

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