#ABBB40#ABBB40

#ABBB40 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.6% C 0.146 H 116.4°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#ABBB40
RGBrgb(171, 187, 64)
HSLhsl(68, 49%, 49%)
HSVhsv(68, 66%, 73%)
CMYKcmyk(8.6%, 0%, 65.8%, 26.7%)
CIE-LABlab(72.61, -21.88, 58.01)
CIE-LCHlch(72.61, 62.00, 110.66°)
OKLaboklab(75.63% -0.065 0.1312)
OKLCHoklch(75.63% 0.146 116.4)
XYZxyz(35.4911, 44.5692, 11.5826)
Luminance0.4457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBB40 #5040BB
analogous
#BB8E40 #ABBB40 #6EBB40
triadic
#ABBB40 #40ABBB #BB40AB
tetradic
#ABBB40 #40BB8E #5040BB #BB406E
square
#ABBB40 #40BB8E #5040BB #BB406E
split-complementary
#ABBB40 #406EBB #8E40BB
monochromatic
#586021 #818D30 #ABBB40 #C0CD6C #D3DC99

Accessibility & contrast

On white

2.12
#ABBB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#ABBB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABBB40
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABBB40#FFFFFF#000000##000000
##ABBB401.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B22F
Deuteranopia (green-blind)
#C6B349
Tritanopia (blue-blind)
#B5B1A2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #abbb40;
/* rgb */ color: rgb(171, 187, 64);
/* oklch */ color: oklch(75.6% 0.146 116.4);
Tailwind
colors: {
  custom: {
    50: '#c7cf7b',
    500: '#abbb40',
    950: '#000000',
  },
}
SCSS
$custom: #abbb40;
$custom-light: #c7cf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#abbb40",
  "rgb": {
    "r": 171,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 67.805,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.75633,
    "c": 0.14641,
    "h": 116.4
  },
  "luminance": 0.44569
}

Semantic roles & 50–950 ramp

primary
#ABBB40
secondary
#968FC8
accent
#4FD961
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #ABBB40

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

Preview Lab → · Contrast checker → · Palette generator →

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