#ABA931#ABA931

#ABA931 is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.5% C 0.137 H 108.5°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#ABA931
RGBrgb(171, 169, 49)
HSLhsl(59, 55%, 43%)
HSVhsv(59, 71%, 67%)
CMYKcmyk(0%, 1.2%, 71.3%, 32.9%)
CIE-LABlab(67.47, -13.63, 58.65)
CIE-LCHlch(67.47, 60.22, 103.08°)
OKLaboklab(71.49% -0.0434 0.1301)
OKLCHoklch(71.49% 0.137 108.5)
XYZxyz(31.5381, 37.2566, 8.4351)
Luminance0.3726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA931 #3133AB
analogous
#AB6C31 #ABA931 #70AB31
triadic
#ABA931 #31ABA9 #A931AB
tetradic
#ABA931 #31AB6C #3133AB #AB3170
square
#ABA931 #31AB6C #3133AB #AB3170
split-complementary
#ABA931 #3170AB #6C31AB
monochromatic
#4C4B16 #7B7A23 #ABA931 #CCCA4D #DAD87D

Accessibility & contrast

On white

2.48
#ABA931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#ABA931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA931
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA931#FFFFFF#000000##000000
##ABA9311.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21C
Deuteranopia (green-blind)
#B9A63A
Tritanopia (blue-blind)
#B79E92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aba931;
/* rgb */ color: rgb(171, 169, 49);
/* oklch */ color: oklch(71.5% 0.137 108.5);
Tailwind
colors: {
  custom: {
    50: '#c7c271',
    500: '#aba931',
    950: '#000000',
  },
}
SCSS
$custom: #aba931;
$custom-light: #c7c271;
$custom-dark: #000000;
JSON
{
  "hex": "#aba931",
  "rgb": {
    "r": 171,
    "g": 169,
    "b": 49
  },
  "hsl": {
    "h": 59.016,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.71488,
    "c": 0.13713,
    "h": 108.5
  },
  "luminance": 0.37256
}

Semantic roles & 50–950 ramp

primary
#ABA931
secondary
#7577C2
accent
#4BDF49
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #ABA931

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

Preview Lab → · Contrast checker → · Palette generator →

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