#ABBB56#ABBB56

#ABBB56 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 75.9% C 0.128 H 117.0°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#ABBB56
RGBrgb(171, 187, 86)
HSLhsl(70, 43%, 54%)
HSVhsv(70, 54%, 73%)
CMYKcmyk(8.6%, 0%, 54%, 26.7%)
CIE-LABlab(72.81, -20.20, 48.57)
CIE-LCHlch(72.81, 52.60, 112.59°)
OKLaboklab(75.86% -0.0581 0.1139)
OKLCHoklch(75.86% 0.128 117)
XYZxyz(36.2452, 44.8708, 15.5538)
Luminance0.4487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBB56 #6656BB
analogous
#BB9856 #ABBB56 #78BB56
triadic
#ABBB56 #56ABBB #BB56AB
tetradic
#ABBB56 #56BB98 #6656BB #BB5678
square
#ABBB56 #56BB98 #6656BB #BB5678
split-complementary
#ABBB56 #5678BB #9856BB
monochromatic
#616B2B #89973D #ABBB56 #C1CD82 #D6DEAD

Accessibility & contrast

On white

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

On black

9.97
#ABBB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABBB56
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABBB56#FFFFFF#000000##000000
##ABBB561.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B24C
Deuteranopia (green-blind)
#C5B35C
Tritanopia (blue-blind)
#B4B2A5
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #abbb56;
/* rgb */ color: rgb(171, 187, 86);
/* oklch */ color: oklch(75.9% 0.128 117.0);
Tailwind
colors: {
  custom: {
    50: '#c6cf89',
    500: '#abbb56',
    950: '#000000',
  },
}
SCSS
$custom: #abbb56;
$custom-light: #c6cf89;
$custom-dark: #000000;
JSON
{
  "hex": "#abbb56",
  "rgb": {
    "r": 171,
    "g": 187,
    "b": 86
  },
  "hsl": {
    "h": 69.505,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.75858,
    "c": 0.12782,
    "h": 117
  },
  "luminance": 0.4487
}

Semantic roles & 50–950 ramp

primary
#ABBB56
secondary
#A8A1CC
accent
#55D269
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #ABBB56

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

Preview Lab → · Contrast checker → · Palette generator →

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