#ABB151#ABB151

#ABB151 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.6% C 0.120 H 112.3°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#ABB151
RGBrgb(171, 177, 81)
HSLhsl(64, 38%, 51%)
HSVhsv(64, 54%, 69%)
CMYKcmyk(3.4%, 0%, 54.2%, 30.6%)
CIE-LABlab(69.96, -15.59, 47.64)
CIE-LCHlch(69.96, 50.12, 108.12°)
OKLaboklab(73.57% -0.0455 0.1113)
OKLCHoklch(73.57% 0.12 112.3)
XYZxyz(34.0027, 40.6970, 13.8471)
Luminance0.4070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB151 #5751B1
analogous
#B18751 #ABB151 #7BB151
triadic
#ABB151 #51ABB1 #B151AB
tetradic
#ABB151 #51B187 #5751B1 #B1517B
square
#ABB151 #51B187 #5751B1 #B1517B
split-complementary
#ABB151 #517BB1 #8751B1
monochromatic
#5A5E2A #83883D #ABB151 #BFC47B #D4D7A6

Accessibility & contrast

On white

2.30
#ABB151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#ABB151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB151
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB151#FFFFFF#000000##000000
##ABB1511.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA47
Deuteranopia (green-blind)
#BDAC56
Tritanopia (blue-blind)
#B5A89C
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #abb151;
/* rgb */ color: rgb(171, 177, 81);
/* oklch */ color: oklch(73.6% 0.120 112.3);
Tailwind
colors: {
  custom: {
    50: '#c6c885',
    500: '#abb151',
    950: '#000000',
  },
}
SCSS
$custom: #abb151;
$custom-light: #c6c885;
$custom-dark: #000000;
JSON
{
  "hex": "#abb151",
  "rgb": {
    "r": 171,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 63.75,
    "s": 38.095,
    "l": 50.588
  },
  "oklch": {
    "l": 0.73566,
    "c": 0.12029,
    "h": 112.3
  },
  "luminance": 0.40696
}

Semantic roles & 50–950 ramp

primary
#ABB151
secondary
#9C9AC4
accent
#5ACE61
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #ABB151

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

Preview Lab → · Contrast checker → · Palette generator →

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