#ABBA47#ABBA47

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

Color values

HEX#ABBA47
RGBrgb(171, 186, 71)
HSLhsl(68, 45%, 50%)
HSVhsv(68, 62%, 73%)
CMYKcmyk(8.1%, 0%, 61.8%, 27.1%)
CIE-LABlab(72.38, -20.91, 54.85)
CIE-LCHlch(72.38, 58.70, 110.87°)
OKLaboklab(75.47% -0.0616 0.1255)
OKLCHoklch(75.47% 0.14 116.1)
XYZxyz(35.4916, 44.2311, 12.6278)
Luminance0.4423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBA47 #5647BA
analogous
#BA8F47 #ABBA47 #71BA47
triadic
#ABBA47 #47ABBA #BA47AB
tetradic
#ABBA47 #47BA8F #5647BA #BA4771
square
#ABBA47 #47BA8F #5647BA #BA4771
split-complementary
#ABBA47 #4771BA #8F47BA
monochromatic
#5A6225 #838E35 #ABBA47 #BFCB74 #D4DBA0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABBA47#FFFFFF#000000##000000
##ABBA471.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)
#C6B139
Deuteranopia (green-blind)
#C5B24F
Tritanopia (blue-blind)
#B5B0A2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #abba47;
/* rgb */ color: rgb(171, 186, 71);
/* oklch */ color: oklch(75.5% 0.140 116.1);
Tailwind
colors: {
  custom: {
    50: '#c7ce7f',
    500: '#abba47',
    950: '#000000',
  },
}
SCSS
$custom: #abba47;
$custom-light: #c7ce7f;
$custom-dark: #000000;
JSON
{
  "hex": "#abba47",
  "rgb": {
    "r": 171,
    "g": 186,
    "b": 71
  },
  "hsl": {
    "h": 67.826,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.75471,
    "c": 0.13981,
    "h": 116.1
  },
  "luminance": 0.44231
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ABBA47

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

Preview Lab → · Contrast checker → · Palette generator →

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