#A3A540#A3A540

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

Color values

HEX#A3A540
RGBrgb(163, 165, 64)
HSLhsl(61, 44%, 45%)
HSVhsv(61, 61%, 65%)
CMYKcmyk(1.2%, 0%, 61.2%, 35.3%)
CIE-LABlab(65.80, -14.12, 50.61)
CIE-LCHlch(65.80, 52.54, 105.59°)
OKLaboklab(70.03% -0.0427 0.1157)
OKLCHoklch(70.03% 0.123 110.3)
XYZxyz(29.4857, 35.0677, 10.0650)
Luminance0.3507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3A540 #4240A5
analogous
#A57440 #A3A540 #71A540
triadic
#A3A540 #40A3A5 #A540A3
tetradic
#A3A540 #40A574 #4240A5 #A54071
square
#A3A540 #40A574 #4240A5 #A54071
split-complementary
#A3A540 #4071A5 #7440A5
monochromatic
#4C4D1E #77792F #A3A540 #C0C261 #D1D38D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A3A540#FFFFFF#000000##000000
##A3A5401.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)
#B19E34
Deuteranopia (green-blind)
#B2A146
Tritanopia (blue-blind)
#AE9B90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a3a540;
/* rgb */ color: rgb(163, 165, 64);
/* oklch */ color: oklch(70.0% 0.123 110.3);
Tailwind
colors: {
  custom: {
    50: '#c1bf79',
    500: '#a3a540',
    950: '#000000',
  },
}
SCSS
$custom: #a3a540;
$custom-light: #c1bf79;
$custom-dark: #000000;
JSON
{
  "hex": "#a3a540",
  "rgb": {
    "r": 163,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 61.188,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.70031,
    "c": 0.12338,
    "h": 110.3
  },
  "luminance": 0.35067
}

Semantic roles & 50–950 ramp

primary
#A3A540
secondary
#8483BE
accent
#54D456
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A3A540

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

Preview Lab → · Contrast checker → · Palette generator →

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