#ABA32A#ABA32A

#ABA32A is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.1% C 0.136 H 105.5°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#ABA32A
RGBrgb(171, 163, 42)
HSLhsl(56, 61%, 42%)
HSVhsv(56, 75%, 67%)
CMYKcmyk(0%, 4.7%, 75.4%, 32.9%)
CIE-LABlab(65.76, -10.83, 59.53)
CIE-LCHlch(65.76, 60.51, 100.31°)
OKLaboklab(70.12% -0.0362 0.1306)
OKLCHoklch(70.12% 0.136 105.5)
XYZxyz(30.3110, 35.0206, 7.3531)
Luminance0.3502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA32A #2A32AB
analogous
#AB632A #ABA32A #73AB2A
triadic
#ABA32A #2AABA3 #A32AAB
tetradic
#ABA32A #2AAB63 #2A32AB #AB2A73
square
#ABA32A #2AAB63 #2A32AB #AB2A73
split-complementary
#ABA32A #2A73AB #632AAB
monochromatic
#494512 #7A741E #ABA32A #D1C842 #DDD673

Accessibility & contrast

On white

2.62
#ABA32A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#ABA32A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA32A
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA32A#FFFFFF#000000##000000
##ABA32A1.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aba32a;
/* rgb */ color: rgb(171, 163, 42);
/* oklch */ color: oklch(70.1% 0.136 105.5);
Tailwind
colors: {
  custom: {
    50: '#c8bd6d',
    500: '#aba32a',
    950: '#000000',
  },
}
SCSS
$custom: #aba32a;
$custom-light: #c8bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#aba32a",
  "rgb": {
    "r": 171,
    "g": 163,
    "b": 42
  },
  "hsl": {
    "h": 56.279,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70116,
    "c": 0.13557,
    "h": 105.5
  },
  "luminance": 0.35019
}

Semantic roles & 50–950 ramp

primary
#ABA32A
secondary
#6D72C4
accent
#4EE444
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141208
muted
#82817B

Preview Lab

Preview with #ABA32A

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

Preview Lab → · Contrast checker → · Palette generator →

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