#ABA331#ABA331

#ABA331 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.2% C 0.131 H 105.3°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#ABA331
RGBrgb(171, 163, 49)
HSLhsl(56, 55%, 43%)
HSVhsv(56, 71%, 67%)
CMYKcmyk(0%, 4.7%, 71.3%, 32.9%)
CIE-LABlab(65.81, -10.50, 57.03)
CIE-LCHlch(65.81, 57.99, 100.43°)
OKLaboklab(70.16% -0.0346 0.1267)
OKLCHoklch(70.16% 0.131 105.3)
XYZxyz(30.4474, 35.0752, 8.0715)
Luminance0.3507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA331 #3139AB
analogous
#AB6631 #ABA331 #76AB31
triadic
#ABA331 #31ABA3 #A331AB
tetradic
#ABA331 #31AB66 #3139AB #AB3176
square
#ABA331 #31AB66 #3139AB #AB3176
split-complementary
#ABA331 #3176AB #6631AB
monochromatic
#4C4816 #7B7623 #ABA331 #CCC44D #DAD47D

Accessibility & contrast

On white

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

On black

8.01
#ABA331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA331
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA331#FFFFFF#000000##000000
##ABA3311.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1E
Deuteranopia (green-blind)
#B4A239
Tritanopia (blue-blind)
#B8988D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aba331;
/* rgb */ color: rgb(171, 163, 49);
/* oklch */ color: oklch(70.2% 0.131 105.3);
Tailwind
colors: {
  custom: {
    50: '#c7be71',
    500: '#aba331',
    950: '#000000',
  },
}
SCSS
$custom: #aba331;
$custom-light: #c7be71;
$custom-dark: #000000;
JSON
{
  "hex": "#aba331",
  "rgb": {
    "r": 171,
    "g": 163,
    "b": 49
  },
  "hsl": {
    "h": 56.066,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.70163,
    "c": 0.1313,
    "h": 105.3
  },
  "luminance": 0.35074
}

Semantic roles & 50–950 ramp

primary
#ABA331
secondary
#757AC2
accent
#53DF49
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ABA331

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

Preview Lab → · Contrast checker → · Palette generator →

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