#ABB951#ABB951

#ABB951 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.4% C 0.130 H 116.0°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#ABB951
RGBrgb(171, 185, 81)
HSLhsl(68, 43%, 52%)
HSVhsv(68, 56%, 73%)
CMYKcmyk(7.6%, 0%, 56.2%, 27.5%)
CIE-LABlab(72.20, -19.63, 50.19)
CIE-LCHlch(72.20, 53.89, 111.37°)
OKLaboklab(75.35% -0.057 0.1168)
OKLCHoklch(75.35% 0.13 116)
XYZxyz(35.6294, 43.9504, 14.3893)
Luminance0.4395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB951 #5F51B9
analogous
#B99351 #ABB951 #77B951
triadic
#ABB951 #51ABB9 #B951AB
tetradic
#ABB951 #51B993 #5F51B9 #B95177
square
#ABB951 #51B993 #5F51B9 #B95177
split-complementary
#ABB951 #5177B9 #9351B9
monochromatic
#5E6629 #86923B #ABB951 #C0CB7D #D5DCA8

Accessibility & contrast

On white

2.15
#ABB951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#ABB951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB951
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB951#FFFFFF#000000##000000
##ABB9511.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B046
Deuteranopia (green-blind)
#C3B257
Tritanopia (blue-blind)
#B5B0A2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #abb951;
/* rgb */ color: rgb(171, 185, 81);
/* oklch */ color: oklch(75.4% 0.130 116.0);
Tailwind
colors: {
  custom: {
    50: '#c6ce85',
    500: '#abb951',
    950: '#000000',
  },
}
SCSS
$custom: #abb951;
$custom-light: #c6ce85;
$custom-dark: #000000;
JSON
{
  "hex": "#abb951",
  "rgb": {
    "r": 171,
    "g": 185,
    "b": 81
  },
  "hsl": {
    "h": 68.077,
    "s": 42.623,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75351,
    "c": 0.12998,
    "h": 116
  },
  "luminance": 0.4395
}

Semantic roles & 50–950 ramp

primary
#ABB951
secondary
#A29CCA
accent
#55D266
background
#FCFCF8
surface
#F8F9EF
border
#D1D2CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #ABB951

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

Preview Lab → · Contrast checker → · Palette generator →

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