#ABB54F#ABB54F

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

Color values

HEX#ABB54F
RGBrgb(171, 181, 79)
HSLhsl(66, 41%, 51%)
HSVhsv(66, 56%, 71%)
CMYKcmyk(5.5%, 0%, 56.4%, 29%)
CIE-LABlab(71.06, -17.79, 49.82)
CIE-LCHlch(71.06, 52.90, 109.65°)
OKLaboklab(74.43% -0.052 0.1158)
OKLCHoklch(74.43% 0.127 114.2)
XYZxyz(34.7304, 42.2708, 13.7251)
Luminance0.4227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB54F #594FB5
analogous
#B58C4F #ABB54F #78B54F
triadic
#ABB54F #4FABB5 #B54FAB
tetradic
#ABB54F #4FB58C #594FB5 #B54F78
square
#ABB54F #4FB58C #594FB5 #B54F78
split-complementary
#ABB54F #4F78B5 #8C4FB5
monochromatic
#5B6129 #848C3B #ABB54F #C0C77A #D4D9A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABB54F#FFFFFF#000000##000000
##ABB54F1.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)
#C1AD44
Deuteranopia (green-blind)
#C0AF55
Tritanopia (blue-blind)
#B5AB9F
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #abb54f;
/* rgb */ color: rgb(171, 181, 79);
/* oklch */ color: oklch(74.4% 0.127 114.2);
Tailwind
colors: {
  custom: {
    50: '#c6cb84',
    500: '#abb54f',
    950: '#000000',
  },
}
SCSS
$custom: #abb54f;
$custom-light: #c6cb84;
$custom-dark: #000000;
JSON
{
  "hex": "#abb54f",
  "rgb": {
    "r": 171,
    "g": 181,
    "b": 79
  },
  "hsl": {
    "h": 65.882,
    "s": 40.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.74434,
    "c": 0.12693,
    "h": 114.2
  },
  "luminance": 0.4227
}

Semantic roles & 50–950 ramp

primary
#ABB54F
secondary
#9E99C6
accent
#57D163
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #ABB54F

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

Preview Lab → · Contrast checker → · Palette generator →

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