#ABA41B#ABA41B

#ABA41B is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.3% C 0.144 H 106.4°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#ABA41B
RGBrgb(171, 164, 27)
HSLhsl(57, 73%, 39%)
HSVhsv(57, 84%, 67%)
CMYKcmyk(0%, 4.1%, 84.2%, 32.9%)
CIE-LABlab(65.97, -11.88, 64.17)
CIE-LCHlch(65.97, 65.26, 100.49°)
OKLaboklab(70.26% -0.0404 0.1378)
OKLCHoklch(70.26% 0.144 106.4)
XYZxyz(30.2692, 35.2891, 6.2538)
Luminance0.3529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA41B #1B22AB
analogous
#AB5C1B #ABA41B #6AAB1B
triadic
#ABA41B #1BABA4 #A41BAB
tetradic
#ABA41B #1BAB5C #1B22AB #AB1B6A
square
#ABA41B #1BAB5C #1B22AB #AB1B6A
split-complementary
#ABA41B #1B6AAB #5C1BAB
monochromatic
#413F0A #767113 #ABA41B #DDD426 #E5DE5B

Accessibility & contrast

On white

2.61
#ABA41B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#ABA41B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA41B
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA41B#FFFFFF#000000##000000
##ABA41B1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B6A329
Tritanopia (blue-blind)
#B8988C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aba41b;
/* rgb */ color: rgb(171, 164, 27);
/* oklch */ color: oklch(70.3% 0.144 106.4);
Tailwind
colors: {
  custom: {
    50: '#c8be67',
    500: '#aba41b',
    950: '#000000',
  },
}
SCSS
$custom: #aba41b;
$custom-light: #c8be67;
$custom-dark: #000000;
JSON
{
  "hex": "#aba41b",
  "rgb": {
    "r": 171,
    "g": 164,
    "b": 27
  },
  "hsl": {
    "h": 57.083,
    "s": 72.727,
    "l": 38.824
  },
  "oklch": {
    "l": 0.7026,
    "c": 0.14357,
    "h": 106.4
  },
  "luminance": 0.35288
}

Semantic roles & 50–950 ramp

primary
#ABA41B
secondary
#595EC9
accent
#41EF38
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#141207
muted
#82817A

Preview Lab

Preview with #ABA41B

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

Preview Lab → · Contrast checker → · Palette generator →

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