#ABBA33#ABBA33

#ABBA33 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.3% C 0.154 H 115.8°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#ABBA33
RGBrgb(171, 186, 51)
HSLhsl(67, 57%, 46%)
HSVhsv(67, 73%, 73%)
CMYKcmyk(8.1%, 0%, 72.6%, 27.1%)
CIE-LABlab(72.24, -22.12, 62.55)
CIE-LCHlch(72.24, 66.35, 109.48°)
OKLaboklab(75.31% -0.0669 0.1386)
OKLCHoklch(75.31% 0.154 115.8)
XYZxyz(34.9519, 44.0153, 9.7859)
Luminance0.4401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBA33 #4233BA
analogous
#BA8633 #ABBA33 #68BA33
triadic
#ABBA33 #33ABBA #BA33AB
tetradic
#ABBA33 #33BA86 #4233BA #BA3368
square
#ABBA33 #33BA86 #4233BA #BA3368
split-complementary
#ABBA33 #3368BA #8633BA
monochromatic
#535A19 #7F8A26 #ABBA33 #C4D159 #D5DF89

Accessibility & contrast

On white

2.14
#ABBA33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#ABBA33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABBA33
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABBA33#FFFFFF#000000##000000
##ABBA331.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B019
Deuteranopia (green-blind)
#C6B23E
Tritanopia (blue-blind)
#B6AFA0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #abba33;
/* rgb */ color: rgb(171, 186, 51);
/* oklch */ color: oklch(75.3% 0.154 115.8);
Tailwind
colors: {
  custom: {
    50: '#c7ce74',
    500: '#abba33',
    950: '#000000',
  },
}
SCSS
$custom: #abba33;
$custom-light: #c7ce74;
$custom-dark: #000000;
JSON
{
  "hex": "#abba33",
  "rgb": {
    "r": 171,
    "g": 186,
    "b": 51
  },
  "hsl": {
    "h": 66.667,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.7531,
    "c": 0.15395,
    "h": 115.8
  },
  "luminance": 0.44015
}

Semantic roles & 50–950 ramp

primary
#ABBA33
secondary
#8880C9
accent
#48E059
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #ABBA33

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

Preview Lab → · Contrast checker → · Palette generator →

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