#ABC22D#ABC22D

#ABC22D is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.1% C 0.166 H 118.4°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#ABC22D
RGBrgb(171, 194, 45)
HSLhsl(69, 62%, 47%)
HSVhsv(69, 77%, 76%)
CMYKcmyk(11.9%, 0%, 76.8%, 23.9%)
CIE-LABlab(74.46, -26.30, 66.62)
CIE-LCHlch(74.46, 71.62, 111.55°)
OKLaboklab(77.09% -0.079 0.1462)
OKLCHoklch(77.09% 0.166 118.4)
XYZxyz(36.5609, 47.4313, 9.7112)
Luminance0.4743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC22D #442DC2
analogous
#C28F2D #ABC22D #60C22D
triadic
#ABC22D #2DABC2 #C22DAB
tetradic
#ABC22D #2DC28F #442DC2 #C22D60
square
#ABC22D #2DC28F #442DC2 #C22D60
split-complementary
#ABC22D #2D60C2 #8F2DC2
monochromatic
#535F16 #7F9021 #ABC22D #C3D755 #D5E386

Accessibility & contrast

On white

2.00
#ABC22D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.49
#ABC22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC22D
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC22D#FFFFFF#000000##000000
##ABC22D1.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB700
Deuteranopia (green-blind)
#CDB83B
Tritanopia (blue-blind)
#B6B7A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #abc22d;
/* rgb */ color: rgb(171, 194, 45);
/* oklch */ color: oklch(77.1% 0.166 118.4);
Tailwind
colors: {
  custom: {
    50: '#c8d472',
    500: '#abc22d',
    950: '#000000',
  },
}
SCSS
$custom: #abc22d;
$custom-light: #c8d472;
$custom-dark: #000000;
JSON
{
  "hex": "#abc22d",
  "rgb": {
    "r": 171,
    "g": 194,
    "b": 45
  },
  "hsl": {
    "h": 69.262,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.77089,
    "c": 0.16618,
    "h": 118.4
  },
  "luminance": 0.47431
}

Semantic roles & 50–950 ramp

primary
#ABC22D
secondary
#8A7ECD
accent
#42E55C
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #ABC22D

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

Preview Lab → · Contrast checker → · Palette generator →

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