#ABBA52#ABBA52

#ABBA52 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.6% C 0.130 H 116.5°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#ABBA52
RGBrgb(171, 186, 82)
HSLhsl(69, 43%, 53%)
HSVhsv(69, 56%, 73%)
CMYKcmyk(8.1%, 0%, 55.9%, 27.1%)
CIE-LABlab(72.49, -20.05, 50.06)
CIE-LCHlch(72.49, 53.92, 111.83°)
OKLaboklab(75.59% -0.0581 0.1167)
OKLCHoklch(75.59% 0.13 116.5)
XYZxyz(35.8771, 44.3853, 14.6582)
Luminance0.4439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBA52 #6152BA
analogous
#BA9552 #ABBA52 #77BA52
triadic
#ABBA52 #52ABBA #BA52AB
tetradic
#ABBA52 #52BA95 #6152BA #BA5277
square
#ABBA52 #52BA95 #6152BA #BA5277
split-complementary
#ABBA52 #5277BA #9552BA
monochromatic
#5F682A #87943B #ABBA52 #C0CB7E #D5DDAA

Accessibility & contrast

On white

2.13
#ABBA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#ABBA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABBA52
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABBA52#FFFFFF#000000##000000
##ABBA521.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B147
Deuteranopia (green-blind)
#C4B358
Tritanopia (blue-blind)
#B4B1A3
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #abba52;
/* rgb */ color: rgb(171, 186, 82);
/* oklch */ color: oklch(75.6% 0.130 116.5);
Tailwind
colors: {
  custom: {
    50: '#c6ce86',
    500: '#abba52',
    950: '#000000',
  },
}
SCSS
$custom: #abba52;
$custom-light: #c6ce86;
$custom-dark: #000000;
JSON
{
  "hex": "#abba52",
  "rgb": {
    "r": 171,
    "g": 186,
    "b": 82
  },
  "hsl": {
    "h": 68.654,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.75587,
    "c": 0.1303,
    "h": 116.5
  },
  "luminance": 0.44385
}

Semantic roles & 50–950 ramp

primary
#ABBA52
secondary
#A49DCA
accent
#55D367
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13130B
muted
#82827C

Preview Lab

Preview with #ABBA52

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

Preview Lab → · Contrast checker → · Palette generator →

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