#ABB158#ABB158

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

Color values

HEX#ABB158
RGBrgb(171, 177, 88)
HSLhsl(64, 36%, 52%)
HSVhsv(64, 50%, 69%)
CMYKcmyk(3.4%, 0%, 50.3%, 30.6%)
CIE-LABlab(70.04, -14.96, 44.37)
CIE-LCHlch(70.04, 46.82, 108.64°)
OKLaboklab(73.65% -0.0431 0.1049)
OKLCHoklch(73.65% 0.113 112.3)
XYZxyz(34.2788, 40.8074, 15.3015)
Luminance0.4081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB158 #5E58B1
analogous
#B18B58 #ABB158 #7FB158
triadic
#ABB158 #58ABB1 #B158AB
tetradic
#ABB158 #58B18B #5E58B1 #B1587F
square
#ABB158 #58B18B #5E58B1 #B1587F
split-complementary
#ABB158 #587FB1 #8B58B1
monochromatic
#5E612D #868B41 #ABB158 #C0C482 #D5D8AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABB158#FFFFFF#000000##000000
##ABB1581.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)
#BCAA50
Deuteranopia (green-blind)
#BCAC5D
Tritanopia (blue-blind)
#B5A89D
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #abb158;
/* rgb */ color: rgb(171, 177, 88);
/* oklch */ color: oklch(73.7% 0.113 112.3);
Tailwind
colors: {
  custom: {
    50: '#c6c889',
    500: '#abb158',
    950: '#000000',
  },
}
SCSS
$custom: #abb158;
$custom-light: #c6c889;
$custom-dark: #000000;
JSON
{
  "hex": "#abb158",
  "rgb": {
    "r": 171,
    "g": 177,
    "b": 88
  },
  "hsl": {
    "h": 64.045,
    "s": 36.327,
    "l": 51.961
  },
  "oklch": {
    "l": 0.73653,
    "c": 0.11342,
    "h": 112.3
  },
  "luminance": 0.40807
}

Semantic roles & 50–950 ramp

primary
#ABB158
secondary
#A29FC6
accent
#5BCC63
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #ABB158

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

Preview Lab → · Contrast checker → · Palette generator →

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