#ABBC2B#ABBC2B

#ABBC2B is a light, vivid yellow. Relative luminance 0.448; OKLCH L 75.7% C 0.161 H 116.4°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#ABBC2B
RGBrgb(171, 188, 43)
HSLhsl(67, 63%, 45%)
HSVhsv(67, 77%, 74%)
CMYKcmyk(9%, 0%, 77.1%, 26.3%)
CIE-LABlab(72.76, -23.47, 65.66)
CIE-LCHlch(72.76, 69.73, 109.67°)
OKLaboklab(75.71% -0.0713 0.1439)
OKLCHoklch(75.71% 0.161 116.4)
XYZxyz(35.2148, 44.7993, 9.0771)
Luminance0.4480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBC2B #3C2BBC
analogous
#BC842B #ABBC2B #63BC2B
triadic
#ABBC2B #2BABBC #BC2BAB
tetradic
#ABBC2B #2BBC84 #3C2BBC #BC2B63
square
#ABBC2B #2BBC84 #3C2BBC #BC2B63
split-complementary
#ABBC2B #2B63BC #842BBC
monochromatic
#505814 #7E8A20 #ABBC2B #C6D64E #D6E280

Accessibility & contrast

On white

2.11
#ABBC2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#ABBC2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABBC2B
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABBC2B#FFFFFF#000000##000000
##ABBC2B1.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B200
Deuteranopia (green-blind)
#C8B338
Tritanopia (blue-blind)
#B6B1A1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #abbc2b;
/* rgb */ color: rgb(171, 188, 43);
/* oklch */ color: oklch(75.7% 0.161 116.4);
Tailwind
colors: {
  custom: {
    50: '#c8d071',
    500: '#abbc2b',
    950: '#000000',
  },
}
SCSS
$custom: #abbc2b;
$custom-light: #c8d071;
$custom-dark: #000000;
JSON
{
  "hex": "#abbc2b",
  "rgb": {
    "r": 171,
    "g": 188,
    "b": 43
  },
  "hsl": {
    "h": 67.034,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.75714,
    "c": 0.16056,
    "h": 116.4
  },
  "luminance": 0.44799
}

Semantic roles & 50–950 ramp

primary
#ABBC2B
secondary
#8278CB
accent
#42E655
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABBC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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