#ABB157#ABB157

#ABB157 is a light, moderate yellow. Relative luminance 0.408; OKLCH L 73.6% C 0.114 H 112.3°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#ABB157
RGBrgb(171, 177, 87)
HSLhsl(64, 37%, 52%)
HSVhsv(64, 51%, 69%)
CMYKcmyk(3.4%, 0%, 50.8%, 30.6%)
CIE-LABlab(70.03, -15.05, 44.84)
CIE-LCHlch(70.03, 47.30, 108.56°)
OKLaboklab(73.64% -0.0434 0.1059)
OKLCHoklch(73.64% 0.114 112.3)
XYZxyz(34.2377, 40.7910, 15.0848)
Luminance0.4079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB157 #5D57B1
analogous
#B18A57 #ABB157 #7EB157
triadic
#ABB157 #57ABB1 #B157AB
tetradic
#ABB157 #57B18A #5D57B1 #B1577E
square
#ABB157 #57B18A #5D57B1 #B1577E
split-complementary
#ABB157 #577EB1 #8A57B1
monochromatic
#5D612D #868A40 #ABB157 #C0C481 #D5D8AB

Accessibility & contrast

On white

2.29
#ABB157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#ABB157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB157
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB157#FFFFFF#000000##000000
##ABB1571.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCAA4F
Deuteranopia (green-blind)
#BDAC5C
Tritanopia (blue-blind)
#B5A89D
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #abb157;
/* rgb */ color: rgb(171, 177, 87);
/* oklch */ color: oklch(73.6% 0.114 112.3);
Tailwind
colors: {
  custom: {
    50: '#c6c889',
    500: '#abb157',
    950: '#000000',
  },
}
SCSS
$custom: #abb157;
$custom-light: #c6c889;
$custom-dark: #000000;
JSON
{
  "hex": "#abb157",
  "rgb": {
    "r": 171,
    "g": 177,
    "b": 87
  },
  "hsl": {
    "h": 64,
    "s": 36.585,
    "l": 51.765
  },
  "oklch": {
    "l": 0.7364,
    "c": 0.11443,
    "h": 112.3
  },
  "luminance": 0.4079
}

Semantic roles & 50–950 ramp

primary
#ABB157
secondary
#A19EC6
accent
#5BCD63
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #ABB157

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

Preview Lab → · Contrast checker → · Palette generator →

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