#A3A731#A3A731

#A3A731 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.4% C 0.137 H 111.4°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#A3A731
RGBrgb(163, 167, 49)
HSLhsl(62, 55%, 42%)
HSVhsv(62, 71%, 65%)
CMYKcmyk(2.4%, 0%, 70.7%, 34.5%)
CIE-LABlab(66.25, -16.07, 57.24)
CIE-LCHlch(66.25, 59.45, 105.69°)
OKLaboklab(70.35% -0.0498 0.1274)
OKLCHoklch(70.35% 0.137 111.4)
XYZxyz(29.4783, 35.6465, 8.2327)
Luminance0.3565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3A731 #3531A7
analogous
#A77031 #A3A731 #68A731
triadic
#A3A731 #31A3A7 #A731A3
tetradic
#A3A731 #31A770 #3531A7 #A73168
square
#A3A731 #31A770 #3531A7 #A73168
split-complementary
#A3A731 #3168A7 #7031A7
monochromatic
#474815 #757823 #A3A731 #C6CA4B #D5D87A

Accessibility & contrast

On white

2.58
#A3A731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#A3A731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3A731
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3A731#FFFFFF#000000##000000
##A3A7311.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F1D
Deuteranopia (green-blind)
#B5A33A
Tritanopia (blue-blind)
#AE9D90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a3a731;
/* rgb */ color: rgb(163, 167, 49);
/* oklch */ color: oklch(70.4% 0.137 111.4);
Tailwind
colors: {
  custom: {
    50: '#c1c071',
    500: '#a3a731',
    950: '#000000',
  },
}
SCSS
$custom: #a3a731;
$custom-light: #c1c071;
$custom-dark: #000000;
JSON
{
  "hex": "#a3a731",
  "rgb": {
    "r": 163,
    "g": 167,
    "b": 49
  },
  "hsl": {
    "h": 62.034,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70352,
    "c": 0.13675,
    "h": 111.4
  },
  "luminance": 0.35646
}

Semantic roles & 50–950 ramp

primary
#A3A731
secondary
#7673C1
accent
#4ADE4F
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A3A731

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

Preview Lab → · Contrast checker → · Palette generator →

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