#ABA531#ABA531

#ABA531 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.6% C 0.133 H 106.4°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#ABA531
RGBrgb(171, 165, 49)
HSLhsl(57, 55%, 43%)
HSVhsv(57, 71%, 67%)
CMYKcmyk(0%, 3.5%, 71.3%, 32.9%)
CIE-LABlab(66.36, -11.55, 57.57)
CIE-LCHlch(66.36, 58.72, 101.34°)
OKLaboklab(70.6% -0.0376 0.1278)
OKLCHoklch(70.6% 0.133 106.4)
XYZxyz(30.8053, 35.7910, 8.1908)
Luminance0.3579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA531 #3137AB
analogous
#AB6831 #ABA531 #74AB31
triadic
#ABA531 #31ABA5 #A531AB
tetradic
#ABA531 #31AB68 #3137AB #AB3174
square
#ABA531 #31AB68 #3137AB #AB3174
split-complementary
#ABA531 #3174AB #6831AB
monochromatic
#4C4916 #7B7723 #ABA531 #CCC64D #DAD57D

Accessibility & contrast

On white

2.57
#ABA531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#ABA531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA531
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA531#FFFFFF#000000##000000
##ABA5311.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F1D
Deuteranopia (green-blind)
#B6A339
Tritanopia (blue-blind)
#B89A8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aba531;
/* rgb */ color: rgb(171, 165, 49);
/* oklch */ color: oklch(70.6% 0.133 106.4);
Tailwind
colors: {
  custom: {
    50: '#c7bf71',
    500: '#aba531',
    950: '#000000',
  },
}
SCSS
$custom: #aba531;
$custom-light: #c7bf71;
$custom-dark: #000000;
JSON
{
  "hex": "#aba531",
  "rgb": {
    "r": 171,
    "g": 165,
    "b": 49
  },
  "hsl": {
    "h": 57.049,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.70603,
    "c": 0.1332,
    "h": 106.4
  },
  "luminance": 0.3579
}

Semantic roles & 50–950 ramp

primary
#ABA531
secondary
#7579C2
accent
#50DF49
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ABA531

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

Preview Lab → · Contrast checker → · Palette generator →

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