#ABB54D#ABB54D

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

Color values

HEX#ABB54D
RGBrgb(171, 181, 77)
HSLhsl(66, 41%, 51%)
HSVhsv(66, 57%, 71%)
CMYKcmyk(5.5%, 0%, 57.5%, 29%)
CIE-LABlab(71.04, -17.95, 50.71)
CIE-LCHlch(71.04, 53.80, 109.49°)
OKLaboklab(74.41% -0.0526 0.1175)
OKLCHoklch(74.41% 0.129 114.1)
XYZxyz(34.6587, 42.2421, 13.3475)
Luminance0.4224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB54D #574DB5
analogous
#B58B4D #ABB54D #77B54D
triadic
#ABB54D #4DABB5 #B54DAB
tetradic
#ABB54D #4DB58B #574DB5 #B54D77
square
#ABB54D #4DB58B #574DB5 #B54D77
split-complementary
#ABB54D #4D77B5 #8B4DB5
monochromatic
#5A6028 #838B3A #ABB54D #BFC778 #D4D9A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABB54D#FFFFFF#000000##000000
##ABB54D1.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)
#C1AD42
Deuteranopia (green-blind)
#C1AF53
Tritanopia (blue-blind)
#B5AB9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #abb54d;
/* rgb */ color: rgb(171, 181, 77);
/* oklch */ color: oklch(74.4% 0.129 114.1);
Tailwind
colors: {
  custom: {
    50: '#c6cb83',
    500: '#abb54d',
    950: '#000000',
  },
}
SCSS
$custom: #abb54d;
$custom-light: #c6cb83;
$custom-dark: #000000;
JSON
{
  "hex": "#abb54d",
  "rgb": {
    "r": 171,
    "g": 181,
    "b": 77
  },
  "hsl": {
    "h": 65.769,
    "s": 41.27,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74412,
    "c": 0.12874,
    "h": 114.1
  },
  "luminance": 0.42241
}

Semantic roles & 50–950 ramp

primary
#ABB54D
secondary
#9C98C6
accent
#57D162
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #ABB54D

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

Preview Lab → · Contrast checker → · Palette generator →

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