#ABBB57#ABBB57

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

Color values

HEX#ABBB57
RGBrgb(171, 187, 87)
HSLhsl(70, 42%, 54%)
HSVhsv(70, 53%, 73%)
CMYKcmyk(8.6%, 0%, 53.5%, 26.7%)
CIE-LABlab(72.82, -20.12, 48.11)
CIE-LCHlch(72.82, 52.14, 112.69°)
OKLaboklab(75.87% -0.0577 0.113)
OKLCHoklch(75.87% 0.127 117.1)
XYZxyz(36.2857, 44.8870, 15.7675)
Luminance0.4489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBB57 #6757BB
analogous
#BB9957 #ABBB57 #79BB57
triadic
#ABBB57 #57ABBB #BB57AB
tetradic
#ABBB57 #57BB99 #6757BB #BB5779
square
#ABBB57 #57BB99 #6757BB #BB5779
split-complementary
#ABBB57 #5779BB #9957BB
monochromatic
#626C2C #89973D #ABBB57 #C1CD83 #D7DEAE

Accessibility & contrast

On white

2.10
#ABBB57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#ABBB57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABBB57
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABBB57#FFFFFF#000000##000000
##ABBB571.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abbb57;
/* rgb */ color: rgb(171, 187, 87);
/* oklch */ color: oklch(75.9% 0.127 117.1);
Tailwind
colors: {
  custom: {
    50: '#c6cf89',
    500: '#abbb57',
    950: '#000000',
  },
}
SCSS
$custom: #abbb57;
$custom-light: #c6cf89;
$custom-dark: #000000;
JSON
{
  "hex": "#abbb57",
  "rgb": {
    "r": 171,
    "g": 187,
    "b": 87
  },
  "hsl": {
    "h": 69.6,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.7587,
    "c": 0.12687,
    "h": 117.1
  },
  "luminance": 0.44887
}

Semantic roles & 50–950 ramp

primary
#ABBB57
secondary
#A8A2CC
accent
#56D26A
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #ABBB57

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

Preview Lab → · Contrast checker → · Palette generator →

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