#ABB54C#ABB54C

#ABB54C is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.4% C 0.130 H 114.1°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#ABB54C
RGBrgb(171, 181, 76)
HSLhsl(66, 42%, 50%)
HSVhsv(66, 58%, 71%)
CMYKcmyk(5.5%, 0%, 58%, 29%)
CIE-LABlab(71.03, -18.03, 51.16)
CIE-LCHlch(71.03, 54.24, 109.41°)
OKLaboklab(74.4% -0.053 0.1183)
OKLCHoklch(74.4% 0.13 114.1)
XYZxyz(34.6237, 42.2281, 13.1630)
Luminance0.4223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB54C #564CB5
analogous
#B58A4C #ABB54C #77B54C
triadic
#ABB54C #4CABB5 #B54CAB
tetradic
#ABB54C #4CB58A #564CB5 #B54C77
square
#ABB54C #4CB58A #564CB5 #B54C77
split-complementary
#ABB54C #4C77B5 #8A4CB5
monochromatic
#5A5F27 #838B39 #ABB54C #BFC777 #D4D9A3

Accessibility & contrast

On white

2.22
#ABB54C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#ABB54C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB54C
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB54C#FFFFFF#000000##000000
##ABB54C1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD41
Deuteranopia (green-blind)
#C1AF52
Tritanopia (blue-blind)
#B5AB9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #abb54c;
/* rgb */ color: rgb(171, 181, 76);
/* oklch */ color: oklch(74.4% 0.130 114.1);
Tailwind
colors: {
  custom: {
    50: '#c6cb82',
    500: '#abb54c',
    950: '#000000',
  },
}
SCSS
$custom: #abb54c;
$custom-light: #c6cb82;
$custom-dark: #000000;
JSON
{
  "hex": "#abb54c",
  "rgb": {
    "r": 171,
    "g": 181,
    "b": 76
  },
  "hsl": {
    "h": 65.714,
    "s": 41.502,
    "l": 50.392
  },
  "oklch": {
    "l": 0.74401,
    "c": 0.12962,
    "h": 114.1
  },
  "luminance": 0.42227
}

Semantic roles & 50–950 ramp

primary
#ABB54C
secondary
#9B97C6
accent
#56D162
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #ABB54C

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

Preview Lab → · Contrast checker → · Palette generator →

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