#ABC22B#ABC22B

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

Color values

HEX#ABC22B
RGBrgb(171, 194, 43)
HSLhsl(69, 64%, 46%)
HSVhsv(69, 78%, 76%)
CMYKcmyk(11.9%, 0%, 77.8%, 23.9%)
CIE-LABlab(74.46, -26.39, 67.21)
CIE-LCHlch(74.46, 72.20, 111.43°)
OKLaboklab(77.08% -0.0794 0.1471)
OKLCHoklch(77.08% 0.167 118.3)
XYZxyz(36.5233, 47.4162, 9.5132)
Luminance0.4742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC22B #422BC2
analogous
#C28E2B #ABC22B #60C22B
triadic
#ABC22B #2BABC2 #C22BAB
tetradic
#ABC22B #2BC28E #422BC2 #C22B60
square
#ABC22B #2BC28E #422BC2 #C22B60
split-complementary
#ABC22B #2B60C2 #8E2BC2
monochromatic
#535E15 #7F9020 #ABC22B #C4D952 #D5E484

Accessibility & contrast

On white

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

On black

10.48
#ABC22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC22B
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC22B#FFFFFF#000000##000000
##ABC22B1.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abc22b;
/* rgb */ color: rgb(171, 194, 43);
/* oklch */ color: oklch(77.1% 0.167 118.3);
Tailwind
colors: {
  custom: {
    50: '#c8d471',
    500: '#abc22b',
    950: '#000000',
  },
}
SCSS
$custom: #abc22b;
$custom-light: #c8d471;
$custom-dark: #000000;
JSON
{
  "hex": "#abc22b",
  "rgb": {
    "r": 171,
    "g": 194,
    "b": 43
  },
  "hsl": {
    "h": 69.139,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.77078,
    "c": 0.16717,
    "h": 118.3
  },
  "luminance": 0.47416
}

Semantic roles & 50–950 ramp

primary
#ABC22B
secondary
#887CCD
accent
#41E75A
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #ABC22B

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

Preview Lab → · Contrast checker → · Palette generator →

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