#ABC331#ABC331

#ABC331 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#ABC331
RGBrgb(171, 195, 49)
HSLhsl(70, 60%, 48%)
HSVhsv(70, 75%, 76%)
CMYKcmyk(12.3%, 0%, 74.9%, 23.5%)
CIE-LABlab(74.77, -26.60, 65.63)
CIE-LCHlch(74.77, 70.82, 112.07°)
OKLaboklab(77.34% -0.0795 0.1448)
OKLCHoklch(77.34% 0.165 118.8)
XYZxyz(36.8649, 47.9102, 10.2107)
Luminance0.4791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC331 #4931C3
analogous
#C39231 #ABC331 #62C331
triadic
#ABC331 #31ABC3 #C331AB
tetradic
#ABC331 #31C392 #4931C3 #C33162
square
#ABC331 #31C392 #4931C3 #C33162
split-complementary
#ABC331 #3162C3 #9231C3
monochromatic
#556118 #809225 #ABC331 #C2D65B #D4E28C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABC331#FFFFFF#000000##000000
##ABC3311.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)
#D0B80E
Deuteranopia (green-blind)
#CDB93E
Tritanopia (blue-blind)
#B5B8A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #abc331;
/* rgb */ color: rgb(171, 195, 49);
/* oklch */ color: oklch(77.3% 0.165 118.8);
Tailwind
colors: {
  custom: {
    50: '#c8d574',
    500: '#abc331',
    950: '#000000',
  },
}
SCSS
$custom: #abc331;
$custom-light: #c8d574;
$custom-dark: #000000;
JSON
{
  "hex": "#abc331",
  "rgb": {
    "r": 171,
    "g": 195,
    "b": 49
  },
  "hsl": {
    "h": 69.863,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.7734,
    "c": 0.16519,
    "h": 118.8
  },
  "luminance": 0.4791
}

Semantic roles & 50–950 ramp

primary
#ABC331
secondary
#8F83CC
accent
#45E35F
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141409
muted
#82837B

Preview Lab

Preview with #ABC331

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

Preview Lab → · Contrast checker → · Palette generator →

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