#ABB41B#ABB41B

#ABB41B 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#ABB41B
RGBrgb(171, 180, 27)
HSLhsl(64, 74%, 41%)
HSVhsv(64, 85%, 71%)
CMYKcmyk(5%, 0%, 85%, 29.4%)
CIE-LABlab(70.44, -20.06, 67.90)
CIE-LCHlch(70.44, 70.80, 106.46°)
OKLaboklab(73.83% -0.063 0.1459)
OKLCHoklch(73.83% 0.159 113.4)
XYZxyz(33.3148, 41.3803, 7.2690)
Luminance0.4138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB41B #241BB4
analogous
#B4701B #ABB41B #5FB41B
triadic
#ABB41B #1BABB4 #B41BAB
tetradic
#ABB41B #1BB470 #241BB4 #B41B5F
square
#ABB41B #1BB470 #241BB4 #B41B5F
split-complementary
#ABB41B #1B5FB4 #701BB4
monochromatic
#464A0B #787F13 #ABB41B #D5DF2D #E0E762

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABB41B#FFFFFF#000000##000000
##ABB41B1.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)
#C2AE2C
Tritanopia (blue-blind)
#B7A999
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #abb41b;
/* rgb */ color: rgb(171, 180, 27);
/* oklch */ color: oklch(73.8% 0.159 113.4);
Tailwind
colors: {
  custom: {
    50: '#c8ca69',
    500: '#abb41b',
    950: '#000000',
  },
}
SCSS
$custom: #abb41b;
$custom-light: #c8ca69;
$custom-dark: #000000;
JSON
{
  "hex": "#abb41b",
  "rgb": {
    "r": 171,
    "g": 180,
    "b": 27
  },
  "hsl": {
    "h": 63.529,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.73833,
    "c": 0.15894,
    "h": 113.4
  },
  "luminance": 0.4138
}

Semantic roles & 50–950 ramp

primary
#ABB41B
secondary
#655FCC
accent
#37F142
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #ABB41B

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

Preview Lab → · Contrast checker → · Palette generator →

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