#ABBB32#ABBB32

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

Color values

HEX#ABBB32
RGBrgb(171, 187, 50)
HSLhsl(67, 58%, 46%)
HSVhsv(67, 73%, 73%)
CMYKcmyk(8.6%, 0%, 73.3%, 26.7%)
CIE-LABlab(72.51, -22.66, 63.16)
CIE-LCHlch(72.51, 67.10, 109.74°)
OKLaboklab(75.53% -0.0685 0.1398)
OKLCHoklch(75.53% 0.156 116.1)
XYZxyz(35.1415, 44.4294, 9.7415)
Luminance0.4443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBB32 #4232BB
analogous
#BB8732 #ABBB32 #67BB32
triadic
#ABBB32 #32ABBB #BB32AB
tetradic
#ABBB32 #32BB87 #4232BB #BB3267
square
#ABBB32 #32BB87 #4232BB #BB3267
split-complementary
#ABBB32 #3267BB #8732BB
monochromatic
#535A18 #7F8B25 #ABBB32 #C4D258 #D5DF88

Accessibility & contrast

On white

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

On black

9.89
#ABBB32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABBB32
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABBB32#FFFFFF#000000##000000
##ABBB321.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B116
Deuteranopia (green-blind)
#C7B33E
Tritanopia (blue-blind)
#B6B0A1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #abbb32;
/* rgb */ color: rgb(171, 187, 50);
/* oklch */ color: oklch(75.5% 0.156 116.1);
Tailwind
colors: {
  custom: {
    50: '#c7cf74',
    500: '#abbb32',
    950: '#000000',
  },
}
SCSS
$custom: #abbb32;
$custom-light: #c7cf74;
$custom-dark: #000000;
JSON
{
  "hex": "#abbb32",
  "rgb": {
    "r": 171,
    "g": 187,
    "b": 50
  },
  "hsl": {
    "h": 67.007,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.75529,
    "c": 0.15565,
    "h": 116.1
  },
  "luminance": 0.44429
}

Semantic roles & 50–950 ramp

primary
#ABBB32
secondary
#8880C9
accent
#47E159
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #ABBB32

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

Preview Lab → · Contrast checker → · Palette generator →

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