#ABB542#ABB542

#ABB542 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.3% C 0.138 H 114.0°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#ABB542
RGBrgb(171, 181, 66)
HSLhsl(65, 47%, 48%)
HSVhsv(65, 64%, 71%)
CMYKcmyk(5.5%, 0%, 63.5%, 29%)
CIE-LABlab(70.94, -18.75, 55.43)
CIE-LCHlch(70.94, 58.52, 108.69°)
OKLaboklab(74.3% -0.0561 0.126)
OKLCHoklch(74.3% 0.138 114)
XYZxyz(34.3027, 42.0996, 11.4722)
Luminance0.4210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB542 #4C42B5
analogous
#B58542 #ABB542 #71B542
triadic
#ABB542 #42ABB5 #B542AB
tetradic
#ABB542 #42B585 #4C42B5 #B54271
square
#ABB542 #42B585 #4C42B5 #B54271
split-complementary
#ABB542 #4271B5 #8542B5
monochromatic
#565B21 #818832 #ABB542 #C1C96B #D4D998

Accessibility & contrast

On white

2.23
#ABB542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#ABB542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB542
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB542#FFFFFF#000000##000000
##ABB5421.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD33
Deuteranopia (green-blind)
#C1AF4A
Tritanopia (blue-blind)
#B6AB9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #abb542;
/* rgb */ color: rgb(171, 181, 66);
/* oklch */ color: oklch(74.3% 0.138 114.0);
Tailwind
colors: {
  custom: {
    50: '#c7cb7c',
    500: '#abb542',
    950: '#000000',
  },
}
SCSS
$custom: #abb542;
$custom-light: #c7cb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#abb542",
  "rgb": {
    "r": 171,
    "g": 181,
    "b": 66
  },
  "hsl": {
    "h": 65.217,
    "s": 46.559,
    "l": 48.431
  },
  "oklch": {
    "l": 0.74302,
    "c": 0.13795,
    "h": 114
  },
  "luminance": 0.42099
}

Semantic roles & 50–950 ramp

primary
#ABB542
secondary
#928EC5
accent
#52D65D
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #ABB542

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

Preview Lab → · Contrast checker → · Palette generator →

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