#ABBA42#ABBA42

#ABBA42 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.4% C 0.144 H 116.0°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#ABBA42
RGBrgb(171, 186, 66)
HSLhsl(68, 48%, 49%)
HSVhsv(68, 65%, 73%)
CMYKcmyk(8.1%, 0%, 64.5%, 27.1%)
CIE-LABlab(72.34, -21.25, 56.91)
CIE-LCHlch(72.34, 60.75, 110.48°)
OKLaboklab(75.43% -0.0631 0.1292)
OKLCHoklch(75.43% 0.144 116)
XYZxyz(35.3376, 44.1696, 11.8172)
Luminance0.4417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBA42 #5142BA
analogous
#BA8D42 #ABBA42 #6FBA42
triadic
#ABBA42 #42ABBA #BA42AB
tetradic
#ABBA42 #42BA8D #5142BA #BA426F
square
#ABBA42 #42BA8D #5142BA #BA426F
split-complementary
#ABBA42 #426FBA #8D42BA
monochromatic
#586022 #818D32 #ABBA42 #C0CB6E #D3DB9B

Accessibility & contrast

On white

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

On black

9.83
#ABBA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABBA42
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABBA42#FFFFFF#000000##000000
##ABBA421.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B132
Deuteranopia (green-blind)
#C5B24A
Tritanopia (blue-blind)
#B5B0A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #abba42;
/* rgb */ color: rgb(171, 186, 66);
/* oklch */ color: oklch(75.4% 0.144 116.0);
Tailwind
colors: {
  custom: {
    50: '#c7ce7c',
    500: '#abba42',
    950: '#000000',
  },
}
SCSS
$custom: #abba42;
$custom-light: #c7ce7c;
$custom-dark: #000000;
JSON
{
  "hex": "#abba42",
  "rgb": {
    "r": 171,
    "g": 186,
    "b": 66
  },
  "hsl": {
    "h": 67.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.75425,
    "c": 0.14375,
    "h": 116
  },
  "luminance": 0.44169
}

Semantic roles & 50–950 ramp

primary
#ABBA42
secondary
#9790C8
accent
#51D761
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #ABBA42

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

Preview Lab → · Contrast checker → · Palette generator →

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