#ABB172#ABB172

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

Color values

HEX#ABB172
RGBrgb(171, 177, 114)
HSLhsl(66, 29%, 57%)
HSVhsv(66, 36%, 69%)
CMYKcmyk(3.4%, 0%, 35.6%, 30.6%)
CIE-LABlab(70.40, -12.14, 31.57)
CIE-LCHlch(70.40, 33.82, 111.03°)
OKLaboklab(74.05% -0.0329 0.0778)
OKLCHoklch(74.05% 0.084 112.9)
XYZxyz(35.5542, 41.3176, 22.0184)
Luminance0.4132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB172 #7872B1
analogous
#B19872 #ABB172 #8CB172
triadic
#ABB172 #72ABB1 #B172AB
tetradic
#ABB172 #72B198 #7872B1 #B1728C
square
#ABB172 #72B198 #7872B1 #B1728C
split-complementary
#ABB172 #728CB1 #9872B1
monochromatic
#686D3C #8E9452 #ABB172 #C2C799 #DADDC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABB172#FFFFFF#000000##000000
##ABB1721.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)
#BAAB6D
Deuteranopia (green-blind)
#BAAD75
Tritanopia (blue-blind)
#B2AAA1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #abb172;
/* rgb */ color: rgb(171, 177, 114);
/* oklch */ color: oklch(74.1% 0.084 112.9);
Tailwind
colors: {
  custom: {
    50: '#c5c89b',
    500: '#abb172',
    950: '#000000',
  },
}
SCSS
$custom: #abb172;
$custom-light: #c5c89b;
$custom-dark: #000000;
JSON
{
  "hex": "#abb172",
  "rgb": {
    "r": 171,
    "g": 177,
    "b": 114
  },
  "hsl": {
    "h": 65.714,
    "s": 28.767,
    "l": 57.059
  },
  "oklch": {
    "l": 0.74054,
    "c": 0.08446,
    "h": 112.9
  },
  "luminance": 0.41317
}

Semantic roles & 50–950 ramp

primary
#ABB172
secondary
#B5B3CC
accent
#63C56C
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #ABB172

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

Preview Lab → · Contrast checker → · Palette generator →

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