#ABB171#ABB171

#ABB171 is a light, moderate yellow. Relative luminance 0.413; OKLCH L 74.0% C 0.086 H 112.9°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#ABB171
RGBrgb(171, 177, 113)
HSLhsl(66, 29%, 57%)
HSVhsv(66, 36%, 69%)
CMYKcmyk(3.4%, 0%, 36.2%, 30.6%)
CIE-LABlab(70.38, -12.26, 32.07)
CIE-LCHlch(70.38, 34.34, 110.92°)
OKLaboklab(74.04% -0.0333 0.0789)
OKLCHoklch(74.04% 0.086 112.9)
XYZxyz(35.4976, 41.2949, 21.7203)
Luminance0.4129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB171 #7771B1
analogous
#B19771 #ABB171 #8BB171
triadic
#ABB171 #71ABB1 #B171AB
tetradic
#ABB171 #71B197 #7771B1 #B1718B
square
#ABB171 #71B197 #7771B1 #B1718B
split-complementary
#ABB171 #718BB1 #9771B1
monochromatic
#686C3B #8D9451 #ABB171 #C2C799 #DADCC0

Accessibility & contrast

On white

2.27
#ABB171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#ABB171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB171
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB171#FFFFFF#000000##000000
##ABB1711.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAAB6C
Deuteranopia (green-blind)
#BAAD74
Tritanopia (blue-blind)
#B3AAA1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #abb171;
/* rgb */ color: rgb(171, 177, 113);
/* oklch */ color: oklch(74.0% 0.086 112.9);
Tailwind
colors: {
  custom: {
    50: '#c5c89a',
    500: '#abb171',
    950: '#000000',
  },
}
SCSS
$custom: #abb171;
$custom-light: #c5c89a;
$custom-dark: #000000;
JSON
{
  "hex": "#abb171",
  "rgb": {
    "r": 171,
    "g": 177,
    "b": 113
  },
  "hsl": {
    "h": 65.625,
    "s": 29.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.74036,
    "c": 0.08567,
    "h": 112.9
  },
  "luminance": 0.41294
}

Semantic roles & 50–950 ramp

primary
#ABB171
secondary
#B4B2CC
accent
#62C56C
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #ABB171

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

Preview Lab → · Contrast checker → · Palette generator →

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