#ABBA40#ABBA40

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

Color values

HEX#ABBA40
RGBrgb(171, 186, 64)
HSLhsl(67, 49%, 49%)
HSVhsv(67, 66%, 73%)
CMYKcmyk(8.1%, 0%, 65.6%, 27.1%)
CIE-LABlab(72.33, -21.38, 57.71)
CIE-LCHlch(72.33, 61.55, 110.33°)
OKLaboklab(75.41% -0.0636 0.1306)
OKLCHoklch(75.41% 0.145 116)
XYZxyz(35.2797, 44.1464, 11.5121)
Luminance0.4415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBA40 #4F40BA
analogous
#BA8C40 #ABBA40 #6EBA40
triadic
#ABBA40 #40ABBA #BA40AB
tetradic
#ABBA40 #40BA8C #4F40BA #BA406E
square
#ABBA40 #40BA8C #4F40BA #BA406E
split-complementary
#ABBA40 #406EBA #8C40BA
monochromatic
#575F21 #818C30 #ABBA40 #C0CC6B #D4DC99

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABBA40#FFFFFF#000000##000000
##ABBA401.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)
#C7B12F
Deuteranopia (green-blind)
#C5B249
Tritanopia (blue-blind)
#B5B0A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #abba40;
/* rgb */ color: rgb(171, 186, 64);
/* oklch */ color: oklch(75.4% 0.145 116.0);
Tailwind
colors: {
  custom: {
    50: '#c7ce7b',
    500: '#abba40',
    950: '#000000',
  },
}
SCSS
$custom: #abba40;
$custom-light: #c7ce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#abba40",
  "rgb": {
    "r": 171,
    "g": 186,
    "b": 64
  },
  "hsl": {
    "h": 67.377,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.75408,
    "c": 0.14524,
    "h": 116
  },
  "luminance": 0.44146
}

Semantic roles & 50–950 ramp

primary
#ABBA40
secondary
#958EC8
accent
#4FD860
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #ABBA40

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

Preview Lab → · Contrast checker → · Palette generator →

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