#ABC322#ABC322

#ABC322 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.3% C 0.172 H 118.5°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#ABC322
RGBrgb(171, 195, 34)
HSLhsl(69, 70%, 45%)
HSVhsv(69, 83%, 76%)
CMYKcmyk(12.3%, 0%, 82.6%, 23.5%)
CIE-LABlab(74.70, -27.19, 69.87)
CIE-LCHlch(74.70, 74.98, 111.27°)
OKLaboklab(77.26% -0.0822 0.1513)
OKLCHoklch(77.26% 0.172 118.5)
XYZxyz(36.5993, 47.8040, 8.8121)
Luminance0.4780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC322 #3A22C3
analogous
#C38A22 #ABC322 #5BC322
triadic
#ABC322 #22ABC3 #C322AB
tetradic
#ABC322 #22C38A #3A22C3 #C3225B
square
#ABC322 #22C38A #3A22C3 #C3225B
split-complementary
#ABC322 #225BC3 #8A22C3
monochromatic
#505B10 #7D8F19 #ABC322 #C7DE44 #D7E778

Accessibility & contrast

On white

1.99
#ABC322 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#ABC322 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC322
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC322#FFFFFF#000000##000000
##ABC3221.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B800
Deuteranopia (green-blind)
#CEB834
Tritanopia (blue-blind)
#B6B8A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #abc322;
/* rgb */ color: rgb(171, 195, 34);
/* oklch */ color: oklch(77.3% 0.172 118.5);
Tailwind
colors: {
  custom: {
    50: '#c8d56e',
    500: '#abc322',
    950: '#000000',
  },
}
SCSS
$custom: #abc322;
$custom-light: #c8d56e;
$custom-dark: #000000;
JSON
{
  "hex": "#abc322",
  "rgb": {
    "r": 171,
    "g": 195,
    "b": 34
  },
  "hsl": {
    "h": 68.944,
    "s": 70.306,
    "l": 44.902
  },
  "oklch": {
    "l": 0.77264,
    "c": 0.17219,
    "h": 118.5
  },
  "luminance": 0.47804
}

Semantic roles & 50–950 ramp

primary
#ABC322
secondary
#8072CF
accent
#3BED55
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141408
muted
#82837B

Preview Lab

Preview with #ABC322

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

Preview Lab → · Contrast checker → · Palette generator →

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