#ABB41C#ABB41C

#ABB41C is a light, vivid yellow. Relative luminance 0.414; OKLCH L 73.8% C 0.159 H 113.4°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#ABB41C
RGBrgb(171, 180, 28)
HSLhsl(64, 73%, 41%)
HSVhsv(64, 84%, 71%)
CMYKcmyk(5%, 0%, 84.4%, 29.4%)
CIE-LABlab(70.44, -20.03, 67.68)
CIE-LCHlch(70.44, 70.58, 106.49°)
OKLaboklab(73.84% -0.0629 0.1456)
OKLCHoklch(73.84% 0.159 113.4)
XYZxyz(33.3266, 41.3850, 7.3309)
Luminance0.4138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB41C #251CB4
analogous
#B4711C #ABB41C #5FB41C
triadic
#ABB41C #1CABB4 #B41CAB
tetradic
#ABB41C #1CB471 #251CB4 #B41C5F
square
#ABB41C #1CB471 #251CB4 #B41C5F
split-complementary
#ABB41C #1C5FB4 #711CB4
monochromatic
#464A0C #797F14 #ABB41C #D4DF2F #DFE764

Accessibility & contrast

On white

2.26
#ABB41C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#ABB41C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB41C
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB41C#FFFFFF#000000##000000
##ABB41C1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB00
Deuteranopia (green-blind)
#C2AE2D
Tritanopia (blue-blind)
#B7A99A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #abb41c;
/* rgb */ color: rgb(171, 180, 28);
/* oklch */ color: oklch(73.8% 0.159 113.4);
Tailwind
colors: {
  custom: {
    50: '#c8ca6a',
    500: '#abb41c',
    950: '#000000',
  },
}
SCSS
$custom: #abb41c;
$custom-light: #c8ca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#abb41c",
  "rgb": {
    "r": 171,
    "g": 180,
    "b": 28
  },
  "hsl": {
    "h": 63.553,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.73837,
    "c": 0.1586,
    "h": 113.4
  },
  "luminance": 0.41384
}

Semantic roles & 50–950 ramp

primary
#ABB41C
secondary
#6760CC
accent
#38F043
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #ABB41C

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

Preview Lab → · Contrast checker → · Palette generator →

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