#ABBC28#ABBC28

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

Color values

HEX#ABBC28
RGBrgb(171, 188, 40)
HSLhsl(67, 65%, 45%)
HSVhsv(67, 79%, 74%)
CMYKcmyk(9%, 0%, 78.7%, 26.3%)
CIE-LABlab(72.75, -23.59, 66.55)
CIE-LCHlch(72.75, 70.60, 109.52°)
OKLaboklab(75.7% -0.0719 0.1452)
OKLCHoklch(75.7% 0.162 116.3)
XYZxyz(35.1618, 44.7781, 8.7978)
Luminance0.4478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBC28 #3928BC
analogous
#BC8328 #ABBC28 #61BC28
triadic
#ABBC28 #28ABBC #BC28AB
tetradic
#ABBC28 #28BC83 #3928BC #BC2861
square
#ABBC28 #28BC83 #3928BC #BC2861
split-complementary
#ABBC28 #2861BC #8328BC
monochromatic
#4F5713 #7D8A1D #ABBC28 #C8D849 #D7E37B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABBC28#FFFFFF#000000##000000
##ABBC281.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)
#C8B336
Tritanopia (blue-blind)
#B6B1A1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #abbc28;
/* rgb */ color: rgb(171, 188, 40);
/* oklch */ color: oklch(75.7% 0.162 116.3);
Tailwind
colors: {
  custom: {
    50: '#c8d06f',
    500: '#abbc28',
    950: '#000000',
  },
}
SCSS
$custom: #abbc28;
$custom-light: #c8d06f;
$custom-dark: #000000;
JSON
{
  "hex": "#abbc28",
  "rgb": {
    "r": 171,
    "g": 188,
    "b": 40
  },
  "hsl": {
    "h": 66.892,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.75699,
    "c": 0.16202,
    "h": 116.3
  },
  "luminance": 0.44778
}

Semantic roles & 50–950 ramp

primary
#ABBC28
secondary
#7F75CB
accent
#40E853
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABBC28

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

Preview Lab → · Contrast checker → · Palette generator →

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