#ABB531#ABB531

#ABB531 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.2% C 0.150 H 113.8°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#ABB531
RGBrgb(171, 181, 49)
HSLhsl(65, 57%, 45%)
HSVhsv(65, 73%, 71%)
CMYKcmyk(5.5%, 0%, 72.9%, 29%)
CIE-LABlab(70.82, -19.73, 61.89)
CIE-LCHlch(70.82, 64.96, 107.69°)
OKLaboklab(74.17% -0.0605 0.1369)
OKLCHoklch(74.17% 0.15 113.8)
XYZxyz(33.8738, 41.9281, 9.2137)
Luminance0.4193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB531 #3B31B5
analogous
#B57D31 #ABB531 #69B531
triadic
#ABB531 #31ABB5 #B531AB
tetradic
#ABB531 #31B57D #3B31B5 #B53169
square
#ABB531 #31B57D #3B31B5 #B53169
split-complementary
#ABB531 #3169B5 #7D31B5
monochromatic
#505517 #7D8524 #ABB531 #C7D053 #D7DD83

Accessibility & contrast

On white

2.24
#ABB531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#ABB531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB531
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB531#FFFFFF#000000##000000
##ABB5311.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC17
Deuteranopia (green-blind)
#C2AF3C
Tritanopia (blue-blind)
#B6AA9C
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #abb531;
/* rgb */ color: rgb(171, 181, 49);
/* oklch */ color: oklch(74.2% 0.150 113.8);
Tailwind
colors: {
  custom: {
    50: '#c7cb73',
    500: '#abb531',
    950: '#000000',
  },
}
SCSS
$custom: #abb531;
$custom-light: #c7cb73;
$custom-dark: #000000;
JSON
{
  "hex": "#abb531",
  "rgb": {
    "r": 171,
    "g": 181,
    "b": 49
  },
  "hsl": {
    "h": 64.545,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74169,
    "c": 0.14966,
    "h": 113.8
  },
  "luminance": 0.41927
}

Semantic roles & 50–950 ramp

primary
#ABB531
secondary
#817BC7
accent
#47E153
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #ABB531

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

Preview Lab → · Contrast checker → · Palette generator →

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