#ABB21A#ABB21A

#ABB21A is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.4% C 0.157 H 112.6°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#ABB21A
RGBrgb(171, 178, 26)
HSLhsl(63, 75%, 40%)
HSVhsv(63, 85%, 70%)
CMYKcmyk(3.9%, 0%, 85.4%, 30.2%)
CIE-LABlab(69.88, -19.08, 67.66)
CIE-LCHlch(69.88, 70.30, 105.75°)
OKLaboklab(73.38% -0.0604 0.1452)
OKLCHoklch(73.38% 0.157 112.6)
XYZxyz(32.9026, 40.5741, 7.0754)
Luminance0.4057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB21A #211AB2
analogous
#B26D1A #ABB21A #5FB21A
triadic
#ABB21A #1AABB2 #B21AAB
tetradic
#ABB21A #1AB26D #211AB2 #B21A5F
square
#ABB21A #1AB26D #211AB2 #B21A5F
split-complementary
#ABB21A #1A5FB2 #6D1AB2
monochromatic
#44470A #787D12 #ABB21A #D7E029 #E1E85F

Accessibility & contrast

On white

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

On black

9.11
#ABB21A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB21A
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB21A#FFFFFF#000000##000000
##ABB21A1.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#C1AC2B
Tritanopia (blue-blind)
#B7A798
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #abb21a;
/* rgb */ color: rgb(171, 178, 26);
/* oklch */ color: oklch(73.4% 0.157 112.6);
Tailwind
colors: {
  custom: {
    50: '#c8c869',
    500: '#abb21a',
    950: '#000000',
  },
}
SCSS
$custom: #abb21a;
$custom-light: #c8c869;
$custom-dark: #000000;
JSON
{
  "hex": "#abb21a",
  "rgb": {
    "r": 171,
    "g": 178,
    "b": 26
  },
  "hsl": {
    "h": 62.763,
    "s": 74.51,
    "l": 40
  },
  "oklch": {
    "l": 0.73379,
    "c": 0.15727,
    "h": 112.6
  },
  "luminance": 0.40573
}

Semantic roles & 50–950 ramp

primary
#ABB21A
secondary
#615CCC
accent
#37F13F
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #ABB21A

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

Preview Lab → · Contrast checker → · Palette generator →

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