#ABBC40#ABBC40

#ABBC40 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 75.9% C 0.148 H 116.7°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#ABBC40
RGBrgb(171, 188, 64)
HSLhsl(68, 49%, 49%)
HSVhsv(68, 66%, 74%)
CMYKcmyk(9%, 0%, 66%, 26.3%)
CIE-LABlab(72.89, -22.37, 58.30)
CIE-LCHlch(72.89, 62.44, 110.99°)
OKLaboklab(75.86% -0.0664 0.1318)
OKLCHoklch(75.86% 0.148 116.7)
XYZxyz(35.7040, 44.9950, 11.6535)
Luminance0.4500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBC40 #5140BC
analogous
#BC8F40 #ABBC40 #6DBC40
triadic
#ABBC40 #40ABBC #BC40AB
tetradic
#ABBC40 #40BC8F #5140BC #BC406D
square
#ABBC40 #40BC8F #5140BC #BC406D
split-complementary
#ABBC40 #406DBC #8F40BC
monochromatic
#586121 #818E30 #ABBC40 #C0CD6C #D3DD9A

Accessibility & contrast

On white

2.10
#ABBC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#ABBC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABBC40
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABBC40#FFFFFF#000000##000000
##ABBC401.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B22F
Deuteranopia (green-blind)
#C7B449
Tritanopia (blue-blind)
#B5B2A3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #abbc40;
/* rgb */ color: rgb(171, 188, 64);
/* oklch */ color: oklch(75.9% 0.148 116.7);
Tailwind
colors: {
  custom: {
    50: '#c7d07b',
    500: '#abbc40',
    950: '#000000',
  },
}
SCSS
$custom: #abbc40;
$custom-light: #c7d07b;
$custom-dark: #000000;
JSON
{
  "hex": "#abbc40",
  "rgb": {
    "r": 171,
    "g": 188,
    "b": 64
  },
  "hsl": {
    "h": 68.226,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.75859,
    "c": 0.14757,
    "h": 116.7
  },
  "luminance": 0.44995
}

Semantic roles & 50–950 ramp

primary
#ABBC40
secondary
#978FC9
accent
#4FD962
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #ABBC40

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

Preview Lab → · Contrast checker → · Palette generator →

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