#ABBA28#ABBA28

#ABBA28 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.2% C 0.160 H 115.6°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#ABBA28
RGBrgb(171, 186, 40)
HSLhsl(66, 65%, 44%)
HSVhsv(66, 78%, 73%)
CMYKcmyk(8.1%, 0%, 78.5%, 27.1%)
CIE-LABlab(72.18, -22.61, 66.04)
CIE-LCHlch(72.18, 69.80, 108.90°)
OKLaboklab(75.24% -0.0692 0.1441)
OKLCHoklch(75.24% 0.16 115.6)
XYZxyz(34.7375, 43.9295, 8.6564)
Luminance0.4393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBA28 #3728BA
analogous
#BA8028 #ABBA28 #62BA28
triadic
#ABBA28 #28ABBA #BA28AB
tetradic
#ABBA28 #28BA80 #3728BA #BA2862
square
#ABBA28 #28BA80 #3728BA #BA2862
split-complementary
#ABBA28 #2862BA #8028BA
monochromatic
#4E5512 #7D881D #ABBA28 #C9D848 #D8E27A

Accessibility & contrast

On white

2.15
#ABBA28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#ABBA28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABBA28
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABBA28#FFFFFF#000000##000000
##ABBA281.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B000
Deuteranopia (green-blind)
#C6B236
Tritanopia (blue-blind)
#B6AF9F
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #abba28;
/* rgb */ color: rgb(171, 186, 40);
/* oklch */ color: oklch(75.2% 0.160 115.6);
Tailwind
colors: {
  custom: {
    50: '#c8ce6f',
    500: '#abba28',
    950: '#000000',
  },
}
SCSS
$custom: #abba28;
$custom-light: #c8ce6f;
$custom-dark: #000000;
JSON
{
  "hex": "#abba28",
  "rgb": {
    "r": 171,
    "g": 186,
    "b": 40
  },
  "hsl": {
    "h": 66.164,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.75245,
    "c": 0.15986,
    "h": 115.6
  },
  "luminance": 0.43929
}

Semantic roles & 50–950 ramp

primary
#ABBA28
secondary
#7C73CA
accent
#40E851
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABBA28

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

Preview Lab → · Contrast checker → · Palette generator →

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