#ABBB52#ABBB52

#ABBB52 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 75.8% C 0.132 H 116.9°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#ABBB52
RGBrgb(171, 187, 82)
HSLhsl(69, 44%, 53%)
HSVhsv(69, 56%, 73%)
CMYKcmyk(8.6%, 0%, 56.1%, 26.7%)
CIE-LABlab(72.77, -20.55, 50.38)
CIE-LCHlch(72.77, 54.41, 112.19°)
OKLaboklab(75.81% -0.0595 0.1173)
OKLCHoklch(75.81% 0.132 116.9)
XYZxyz(36.0885, 44.8082, 14.7287)
Luminance0.4481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBB52 #6252BB
analogous
#BB9652 #ABBB52 #76BB52
triadic
#ABBB52 #52ABBB #BB52AB
tetradic
#ABBB52 #52BB96 #6252BB #BB5276
square
#ABBB52 #52BB96 #6252BB #BB5276
split-complementary
#ABBB52 #5276BB #9652BB
monochromatic
#606929 #87953B #ABBB52 #C0CC7E #D6DEAA

Accessibility & contrast

On white

2.11
#ABBB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#ABBB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABBB52
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABBB52#FFFFFF#000000##000000
##ABBB521.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B247
Deuteranopia (green-blind)
#C5B358
Tritanopia (blue-blind)
#B4B2A4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #abbb52;
/* rgb */ color: rgb(171, 187, 82);
/* oklch */ color: oklch(75.8% 0.132 116.9);
Tailwind
colors: {
  custom: {
    50: '#c6cf86',
    500: '#abbb52',
    950: '#000000',
  },
}
SCSS
$custom: #abbb52;
$custom-light: #c6cf86;
$custom-dark: #000000;
JSON
{
  "hex": "#abbb52",
  "rgb": {
    "r": 171,
    "g": 187,
    "b": 82
  },
  "hsl": {
    "h": 69.143,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.75811,
    "c": 0.13154,
    "h": 116.9
  },
  "luminance": 0.44808
}

Semantic roles & 50–950 ramp

primary
#ABBB52
secondary
#A59ECB
accent
#54D368
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13130B
muted
#82827C

Preview Lab

Preview with #ABBB52

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

Preview Lab → · Contrast checker → · Palette generator →

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