#ABB541#ABB541

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

Color values

HEX#ABB541
RGBrgb(171, 181, 65)
HSLhsl(65, 47%, 48%)
HSVhsv(65, 64%, 71%)
CMYKcmyk(5.5%, 0%, 64.1%, 29%)
CIE-LABlab(70.93, -18.82, 55.84)
CIE-LCHlch(70.93, 58.93, 108.62°)
OKLaboklab(74.29% -0.0564 0.1268)
OKLCHoklch(74.29% 0.139 114)
XYZxyz(34.2735, 42.0880, 11.3183)
Luminance0.4209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB541 #4B41B5
analogous
#B58541 #ABB541 #71B541
triadic
#ABB541 #41ABB5 #B541AB
tetradic
#ABB541 #41B585 #4B41B5 #B54171
square
#ABB541 #41B585 #4B41B5 #B54171
split-complementary
#ABB541 #4171B5 #8541B5
monochromatic
#565B21 #808831 #ABB541 #C1C96A #D4DA97

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABB541#FFFFFF#000000##000000
##ABB5411.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)
#C2AC32
Deuteranopia (green-blind)
#C1AF49
Tritanopia (blue-blind)
#B6AB9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #abb541;
/* rgb */ color: rgb(171, 181, 65);
/* oklch */ color: oklch(74.3% 0.139 114.0);
Tailwind
colors: {
  custom: {
    50: '#c7cb7b',
    500: '#abb541',
    950: '#000000',
  },
}
SCSS
$custom: #abb541;
$custom-light: #c7cb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#abb541",
  "rgb": {
    "r": 171,
    "g": 181,
    "b": 65
  },
  "hsl": {
    "h": 65.172,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.74293,
    "c": 0.13872,
    "h": 114
  },
  "luminance": 0.42087
}

Semantic roles & 50–950 ramp

primary
#ABB541
secondary
#918CC5
accent
#51D75D
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #ABB541

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

Preview Lab → · Contrast checker → · Palette generator →

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