#ABBB20#ABBB20

#ABBB20 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.4% C 0.164 H 115.9°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#ABBB20
RGBrgb(171, 187, 32)
HSLhsl(66, 71%, 43%)
HSVhsv(66, 83%, 73%)
CMYKcmyk(8.6%, 0%, 82.9%, 26.7%)
CIE-LABlab(72.43, -23.38, 68.41)
CIE-LCHlch(72.43, 72.30, 108.87°)
OKLaboklab(75.44% -0.0719 0.1478)
OKLCHoklch(75.44% 0.164 115.9)
XYZxyz(34.8266, 44.3034, 8.0830)
Luminance0.4430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBB20 #3020BB
analogous
#BB7E20 #ABBB20 #5DBB20
triadic
#ABBB20 #20ABBB #BB20AB
tetradic
#ABBB20 #20BB7E #3020BB #BB205D
square
#ABBB20 #20BB7E #3020BB #BB205D
split-complementary
#ABBB20 #205DBB #7E20BB
monochromatic
#4B520E #7B8717 #ABBB20 #CDDD3B #DAE66F

Accessibility & contrast

On white

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

On black

9.86
#ABBB20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABBB20
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABBB20#FFFFFF#000000##000000
##ABBB201.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abbb20;
/* rgb */ color: rgb(171, 187, 32);
/* oklch */ color: oklch(75.4% 0.164 115.9);
Tailwind
colors: {
  custom: {
    50: '#c8cf6c',
    500: '#abbb20',
    950: '#000000',
  },
}
SCSS
$custom: #abbb20;
$custom-light: #c8cf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#abbb20",
  "rgb": {
    "r": 171,
    "g": 187,
    "b": 32
  },
  "hsl": {
    "h": 66.194,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.75436,
    "c": 0.16438,
    "h": 115.9
  },
  "luminance": 0.44303
}

Semantic roles & 50–950 ramp

primary
#ABBB20
secondary
#746ACD
accent
#3AEE4D
background
#FCFCF6
surface
#F9F9EC
border
#D2D2C7
text
#141308
muted
#82827A

Preview Lab

Preview with #ABBB20

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

Preview Lab → · Contrast checker → · Palette generator →

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