#ABBA48#ABBA48

#ABBA48 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.5% C 0.139 H 116.2°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#ABBA48
RGBrgb(171, 186, 72)
HSLhsl(68, 45%, 51%)
HSVhsv(68, 61%, 73%)
CMYKcmyk(8.1%, 0%, 61.3%, 27.1%)
CIE-LABlab(72.39, -20.84, 54.43)
CIE-LCHlch(72.39, 58.28, 110.95°)
OKLaboklab(75.48% -0.0613 0.1248)
OKLCHoklch(75.48% 0.139 116.2)
XYZxyz(35.5239, 44.2441, 12.7982)
Luminance0.4424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBA48 #5748BA
analogous
#BA9048 #ABBA48 #72BA48
triadic
#ABBA48 #48ABBA #BA48AB
tetradic
#ABBA48 #48BA90 #5748BA #BA4872
square
#ABBA48 #48BA90 #5748BA #BA4872
split-complementary
#ABBA48 #4872BA #9048BA
monochromatic
#5A6225 #838F36 #ABBA48 #BFCB74 #D4DCA1

Accessibility & contrast

On white

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

On black

9.85
#ABBA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABBA48
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABBA48#FFFFFF#000000##000000
##ABBA481.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B13A
Deuteranopia (green-blind)
#C5B24F
Tritanopia (blue-blind)
#B5B0A2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #abba48;
/* rgb */ color: rgb(171, 186, 72);
/* oklch */ color: oklch(75.5% 0.139 116.2);
Tailwind
colors: {
  custom: {
    50: '#c7ce80',
    500: '#abba48',
    950: '#000000',
  },
}
SCSS
$custom: #abba48;
$custom-light: #c7ce80;
$custom-dark: #000000;
JSON
{
  "hex": "#abba48",
  "rgb": {
    "r": 171,
    "g": 186,
    "b": 72
  },
  "hsl": {
    "h": 67.895,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.75481,
    "c": 0.13899,
    "h": 116.2
  },
  "luminance": 0.44244
}

Semantic roles & 50–950 ramp

primary
#ABBA48
secondary
#9C96C8
accent
#53D564
background
#FCFCF8
surface
#F8F9EF
border
#D1D2CA
text
#13130A
muted
#82827C

Preview Lab

Preview with #ABBA48

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

Preview Lab → · Contrast checker → · Palette generator →

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