#ABA031#ABA031

#ABA031 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.5% C 0.129 H 103.6°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#ABA031
RGBrgb(171, 160, 49)
HSLhsl(55, 55%, 43%)
HSVhsv(55, 71%, 67%)
CMYKcmyk(0%, 6.4%, 71.3%, 32.9%)
CIE-LABlab(64.98, -8.92, 56.22)
CIE-LCHlch(64.98, 56.92, 99.02°)
OKLaboklab(69.51% -0.0302 0.1249)
OKLCHoklch(69.51% 0.129 103.6)
XYZxyz(29.9210, 34.0225, 7.8961)
Luminance0.3402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA031 #313CAB
analogous
#AB6331 #ABA031 #79AB31
triadic
#ABA031 #31ABA0 #A031AB
tetradic
#ABA031 #31AB63 #313CAB #AB3179
square
#ABA031 #31AB63 #313CAB #AB3179
split-complementary
#ABA031 #3179AB #6331AB
monochromatic
#4C4716 #7B7323 #ABA031 #CCC14D #DAD17D

Accessibility & contrast

On white

2.69
#ABA031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#ABA031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA031
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA031#FFFFFF#000000##000000
##ABA0311.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B1F
Deuteranopia (green-blind)
#B2A038
Tritanopia (blue-blind)
#B8958A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aba031;
/* rgb */ color: rgb(171, 160, 49);
/* oklch */ color: oklch(69.5% 0.129 103.6);
Tailwind
colors: {
  custom: {
    50: '#c7bb70',
    500: '#aba031',
    950: '#000000',
  },
}
SCSS
$custom: #aba031;
$custom-light: #c7bb70;
$custom-dark: #000000;
JSON
{
  "hex": "#aba031",
  "rgb": {
    "r": 171,
    "g": 160,
    "b": 49
  },
  "hsl": {
    "h": 54.59,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.69505,
    "c": 0.12852,
    "h": 103.6
  },
  "luminance": 0.34021
}

Semantic roles & 50–950 ramp

primary
#ABA031
secondary
#757CC2
accent
#57DF49
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #ABA031

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

Preview Lab → · Contrast checker → · Palette generator →

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