#ABC332#ABC332

#ABC332 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.3% C 0.165 H 118.8°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#ABC332
RGBrgb(171, 195, 50)
HSLhsl(70, 59%, 48%)
HSVhsv(70, 74%, 76%)
CMYKcmyk(12.3%, 0%, 74.4%, 23.5%)
CIE-LABlab(74.77, -26.56, 65.31)
CIE-LCHlch(74.77, 70.50, 112.13°)
OKLaboklab(77.35% -0.0793 0.1443)
OKLCHoklch(77.35% 0.165 118.8)
XYZxyz(36.8862, 47.9187, 10.3230)
Luminance0.4792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC332 #4A32C3
analogous
#C39232 #ABC332 #62C332
triadic
#ABC332 #32ABC3 #C332AB
tetradic
#ABC332 #32C392 #4A32C3 #C33262
square
#ABC332 #32C392 #4A32C3 #C33262
split-complementary
#ABC332 #3262C3 #9232C3
monochromatic
#566219 #809226 #ABC332 #C1D55D #D4E28E

Accessibility & contrast

On white

1.98
#ABC332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#ABC332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC332
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC332#FFFFFF#000000##000000
##ABC3321.001.9810.5810.58
#FFFFFF1.981.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B811
Deuteranopia (green-blind)
#CDB93F
Tritanopia (blue-blind)
#B5B8A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #abc332;
/* rgb */ color: rgb(171, 195, 50);
/* oklch */ color: oklch(77.3% 0.165 118.8);
Tailwind
colors: {
  custom: {
    50: '#c8d575',
    500: '#abc332',
    950: '#000000',
  },
}
SCSS
$custom: #abc332;
$custom-light: #c8d575;
$custom-dark: #000000;
JSON
{
  "hex": "#abc332",
  "rgb": {
    "r": 171,
    "g": 195,
    "b": 50
  },
  "hsl": {
    "h": 69.931,
    "s": 59.184,
    "l": 48.039
  },
  "oklch": {
    "l": 0.77346,
    "c": 0.16464,
    "h": 118.8
  },
  "luminance": 0.47918
}

Semantic roles & 50–950 ramp

primary
#ABC332
secondary
#9085CC
accent
#45E25F
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141409
muted
#82837B

Preview Lab

Preview with #ABC332

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

Preview Lab → · Contrast checker → · Palette generator →

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