#A3AB31#A3AB31

#A3AB31 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.3% C 0.141 H 113.2°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#A3AB31
RGBrgb(163, 171, 49)
HSLhsl(64, 55%, 43%)
HSVhsv(64, 71%, 67%)
CMYKcmyk(4.7%, 0%, 71.3%, 32.9%)
CIE-LABlab(67.38, -18.12, 58.34)
CIE-LCHlch(67.38, 61.09, 107.25°)
OKLaboklab(71.26% -0.0555 0.1297)
OKLCHoklch(71.26% 0.141 113.2)
XYZxyz(30.2224, 37.1347, 8.4808)
Luminance0.3713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3AB31 #3931AB
analogous
#AB7631 #A3AB31 #66AB31
triadic
#A3AB31 #31A3AB #AB31A3
tetradic
#A3AB31 #31AB76 #3931AB #AB3166
square
#A3AB31 #31AB76 #3931AB #AB3166
split-complementary
#A3AB31 #3166AB #7631AB
monochromatic
#484C16 #767B23 #A3AB31 #C4CC4D #D4DA7D

Accessibility & contrast

On white

2.49
#A3AB31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#A3AB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3AB31
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3AB31#FFFFFF#000000##000000
##A3AB311.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31C
Deuteranopia (green-blind)
#B8A53A
Tritanopia (blue-blind)
#AEA193
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a3ab31;
/* rgb */ color: rgb(163, 171, 49);
/* oklch */ color: oklch(71.3% 0.141 113.2);
Tailwind
colors: {
  custom: {
    50: '#c1c371',
    500: '#a3ab31',
    950: '#000000',
  },
}
SCSS
$custom: #a3ab31;
$custom-light: #c1c371;
$custom-dark: #000000;
JSON
{
  "hex": "#a3ab31",
  "rgb": {
    "r": 163,
    "g": 171,
    "b": 49
  },
  "hsl": {
    "h": 63.934,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.71256,
    "c": 0.14107,
    "h": 113.2
  },
  "luminance": 0.37134
}

Semantic roles & 50–950 ramp

primary
#A3AB31
secondary
#7A75C2
accent
#49DF53
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A3AB31

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

Preview Lab → · Contrast checker → · Palette generator →

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