#ABB540#ABB540

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

Color values

HEX#ABB540
RGBrgb(171, 181, 64)
HSLhsl(65, 48%, 48%)
HSVhsv(65, 65%, 71%)
CMYKcmyk(5.5%, 0%, 64.6%, 29%)
CIE-LABlab(70.92, -18.89, 56.25)
CIE-LCHlch(70.92, 59.34, 108.56°)
OKLaboklab(74.28% -0.0566 0.1275)
OKLCHoklch(74.28% 0.14 114)
XYZxyz(34.2447, 42.0765, 11.1671)
Luminance0.4208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB540 #4A40B5
analogous
#B58440 #ABB540 #70B540
triadic
#ABB540 #40ABB5 #B540AB
tetradic
#ABB540 #40B584 #4A40B5 #B54070
square
#ABB540 #40B584 #4A40B5 #B54070
split-complementary
#ABB540 #4070B5 #8440B5
monochromatic
#565B20 #808830 #ABB540 #C1CA68 #D4DA96

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABB540#FFFFFF#000000##000000
##ABB5401.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)
#C2AC30
Deuteranopia (green-blind)
#C1AF48
Tritanopia (blue-blind)
#B6AB9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #abb540;
/* rgb */ color: rgb(171, 181, 64);
/* oklch */ color: oklch(74.3% 0.140 114.0);
Tailwind
colors: {
  custom: {
    50: '#c7cb7b',
    500: '#abb540',
    950: '#000000',
  },
}
SCSS
$custom: #abb540;
$custom-light: #c7cb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#abb540",
  "rgb": {
    "r": 171,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 65.128,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.74284,
    "c": 0.1395,
    "h": 114
  },
  "luminance": 0.42076
}

Semantic roles & 50–950 ramp

primary
#ABB540
secondary
#908BC5
accent
#50D75C
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #ABB540

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

Preview Lab → · Contrast checker → · Palette generator →

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