#ABB152#ABB152

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

Color values

HEX#ABB152
RGBrgb(171, 177, 82)
HSLhsl(64, 38%, 51%)
HSVhsv(64, 54%, 69%)
CMYKcmyk(3.4%, 0%, 53.7%, 30.6%)
CIE-LABlab(69.97, -15.50, 47.17)
CIE-LCHlch(69.97, 49.66, 108.19°)
OKLaboklab(73.58% -0.0452 0.1104)
OKLCHoklch(73.58% 0.119 112.3)
XYZxyz(34.0404, 40.7121, 14.0460)
Luminance0.4071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB152 #5852B1
analogous
#B18752 #ABB152 #7BB152
triadic
#ABB152 #52ABB1 #B152AB
tetradic
#ABB152 #52B187 #5852B1 #B1527B
square
#ABB152 #52B187 #5852B1 #B1527B
split-complementary
#ABB152 #527BB1 #8752B1
monochromatic
#5B5E2A #84883D #ABB152 #BFC47C #D4D7A6

Accessibility & contrast

On white

2.30
#ABB152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#ABB152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB152
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB152#FFFFFF#000000##000000
##ABB1521.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA49
Deuteranopia (green-blind)
#BDAC57
Tritanopia (blue-blind)
#B5A89C
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #abb152;
/* rgb */ color: rgb(171, 177, 82);
/* oklch */ color: oklch(73.6% 0.119 112.3);
Tailwind
colors: {
  custom: {
    50: '#c6c885',
    500: '#abb152',
    950: '#000000',
  },
}
SCSS
$custom: #abb152;
$custom-light: #c6c885;
$custom-dark: #000000;
JSON
{
  "hex": "#abb152",
  "rgb": {
    "r": 171,
    "g": 177,
    "b": 82
  },
  "hsl": {
    "h": 63.789,
    "s": 37.849,
    "l": 50.784
  },
  "oklch": {
    "l": 0.73578,
    "c": 0.11933,
    "h": 112.3
  },
  "luminance": 0.40711
}

Semantic roles & 50–950 ramp

primary
#ABB152
secondary
#9D9AC4
accent
#5ACE61
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #ABB152

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

Preview Lab → · Contrast checker → · Palette generator →

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