#ABBB2C#ABBB2C

#ABBB2C is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.5% C 0.159 H 116.0°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#ABBB2C
RGBrgb(171, 187, 44)
HSLhsl(67, 62%, 45%)
HSVhsv(67, 76%, 73%)
CMYKcmyk(8.6%, 0%, 76.5%, 26.7%)
CIE-LABlab(72.48, -22.94, 65.10)
CIE-LCHlch(72.48, 69.02, 109.41°)
OKLaboklab(75.49% -0.0698 0.1428)
OKLCHoklch(75.49% 0.159 116)
XYZxyz(35.0205, 44.3810, 9.1039)
Luminance0.4438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBB2C #3C2CBB
analogous
#BB832C #ABBB2C #64BB2C
triadic
#ABBB2C #2CABBB #BB2CAB
tetradic
#ABBB2C #2CBB83 #3C2CBB #BB2C64
square
#ABBB2C #2CBB83 #3C2CBB #BB2C64
split-complementary
#ABBB2C #2C64BB #832CBB
monochromatic
#505815 #7E8920 #ABBB2C #C6D64F #D6E180

Accessibility & contrast

On white

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

On black

9.88
#ABBB2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABBB2C
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABBB2C#FFFFFF#000000##000000
##ABBB2C1.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B103
Deuteranopia (green-blind)
#C7B339
Tritanopia (blue-blind)
#B6B0A0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #abbb2c;
/* rgb */ color: rgb(171, 187, 44);
/* oklch */ color: oklch(75.5% 0.159 116.0);
Tailwind
colors: {
  custom: {
    50: '#c8cf71',
    500: '#abbb2c',
    950: '#000000',
  },
}
SCSS
$custom: #abbb2c;
$custom-light: #c8cf71;
$custom-dark: #000000;
JSON
{
  "hex": "#abbb2c",
  "rgb": {
    "r": 171,
    "g": 187,
    "b": 44
  },
  "hsl": {
    "h": 66.713,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.75493,
    "c": 0.15896,
    "h": 116
  },
  "luminance": 0.4438
}

Semantic roles & 50–950 ramp

primary
#ABBB2C
secondary
#8279CA
accent
#43E555
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABBB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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