#ABBA32#ABBA32

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

Color values

HEX#ABBA32
RGBrgb(171, 186, 50)
HSLhsl(67, 58%, 46%)
HSVhsv(67, 73%, 73%)
CMYKcmyk(8.1%, 0%, 73.1%, 27.1%)
CIE-LABlab(72.23, -22.17, 62.89)
CIE-LCHlch(72.23, 66.68, 109.42°)
OKLaboklab(75.3% -0.0671 0.1392)
OKLCHoklch(75.3% 0.155 115.8)
XYZxyz(34.9301, 44.0066, 9.6710)
Luminance0.4401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBA32 #4132BA
analogous
#BA8532 #ABBA32 #67BA32
triadic
#ABBA32 #32ABBA #BA32AB
tetradic
#ABBA32 #32BA85 #4132BA #BA3267
square
#ABBA32 #32BA85 #4132BA #BA3267
split-complementary
#ABBA32 #3267BA #8532BA
monochromatic
#525A18 #7F8A25 #ABBA32 #C4D257 #D5DF88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABBA32#FFFFFF#000000##000000
##ABBA321.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)
#C7B017
Deuteranopia (green-blind)
#C6B23D
Tritanopia (blue-blind)
#B6AFA0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #abba32;
/* rgb */ color: rgb(171, 186, 50);
/* oklch */ color: oklch(75.3% 0.155 115.8);
Tailwind
colors: {
  custom: {
    50: '#c7ce74',
    500: '#abba32',
    950: '#000000',
  },
}
SCSS
$custom: #abba32;
$custom-light: #c7ce74;
$custom-dark: #000000;
JSON
{
  "hex": "#abba32",
  "rgb": {
    "r": 171,
    "g": 186,
    "b": 50
  },
  "hsl": {
    "h": 66.618,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75303,
    "c": 0.15454,
    "h": 115.8
  },
  "luminance": 0.44006
}

Semantic roles & 50–950 ramp

primary
#ABBA32
secondary
#877FC9
accent
#47E158
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #ABBA32

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

Preview Lab → · Contrast checker → · Palette generator →

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