#ABA82A#ABA82A

#ABA82A is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.2% C 0.140 H 108.1°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#ABA82A
RGBrgb(171, 168, 42)
HSLhsl(59, 61%, 42%)
HSVhsv(59, 75%, 67%)
CMYKcmyk(0%, 1.8%, 75.4%, 32.9%)
CIE-LABlab(67.15, -13.43, 60.82)
CIE-LCHlch(67.15, 62.28, 102.46°)
OKLaboklab(71.22% -0.0435 0.1334)
OKLCHoklch(71.22% 0.14 108.1)
XYZxyz(31.2164, 36.8314, 7.6549)
Luminance0.3683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA82A #2A2DAB
analogous
#AB682A #ABA82A #6EAB2A
triadic
#ABA82A #2AABA8 #A82AAB
tetradic
#ABA82A #2AAB68 #2A2DAB #AB2A6E
square
#ABA82A #2AAB68 #2A2DAB #AB2A6E
split-complementary
#ABA82A #2A6EAB #682AAB
monochromatic
#494712 #7A781E #ABA82A #D1CD42 #DDDA73

Accessibility & contrast

On white

2.51
#ABA82A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#ABA82A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA82A
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA82A#FFFFFF#000000##000000
##ABA82A1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A10D
Deuteranopia (green-blind)
#B8A534
Tritanopia (blue-blind)
#B89D90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aba82a;
/* rgb */ color: rgb(171, 168, 42);
/* oklch */ color: oklch(71.2% 0.140 108.1);
Tailwind
colors: {
  custom: {
    50: '#c8c16e',
    500: '#aba82a',
    950: '#000000',
  },
}
SCSS
$custom: #aba82a;
$custom-light: #c8c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#aba82a",
  "rgb": {
    "r": 171,
    "g": 168,
    "b": 42
  },
  "hsl": {
    "h": 58.605,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.71221,
    "c": 0.1403,
    "h": 108.1
  },
  "luminance": 0.3683
}

Semantic roles & 50–950 ramp

primary
#ABA82A
secondary
#6D6FC4
accent
#48E444
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141208
muted
#82817B

Preview Lab

Preview with #ABA82A

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

Preview Lab → · Contrast checker → · Palette generator →

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