#A3AA42#A3AA42

#A3AA42 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.2% C 0.127 H 112.8°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#A3AA42
RGBrgb(163, 170, 66)
HSLhsl(64, 44%, 46%)
HSVhsv(64, 61%, 67%)
CMYKcmyk(4.1%, 0%, 61.2%, 33.3%)
CIE-LABlab(67.22, -16.55, 51.26)
CIE-LCHlch(67.22, 53.87, 107.89°)
OKLaboklab(71.17% -0.0494 0.1174)
OKLCHoklch(71.17% 0.127 112.8)
XYZxyz(30.4631, 36.9299, 10.6766)
Luminance0.3693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3AA42 #4942AA
analogous
#AA7D42 #A3AA42 #6FAA42
triadic
#A3AA42 #42A3AA #AA42A3
tetradic
#A3AA42 #42AA7D #4942AA #AA426F
square
#A3AA42 #42AA7D #4942AA #AA426F
split-complementary
#A3AA42 #426FAA #7D42AA
monochromatic
#4E5220 #797E31 #A3AA42 #BDC366 #D0D592

Accessibility & contrast

On white

2.50
#A3AA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#A3AA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3AA42
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3AA42#FFFFFF#000000##000000
##A3AA421.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A236
Deuteranopia (green-blind)
#B6A549
Tritanopia (blue-blind)
#ADA094
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a3aa42;
/* rgb */ color: rgb(163, 170, 66);
/* oklch */ color: oklch(71.2% 0.127 112.8);
Tailwind
colors: {
  custom: {
    50: '#c1c37b',
    500: '#a3aa42',
    950: '#000000',
  },
}
SCSS
$custom: #a3aa42;
$custom-light: #c1c37b;
$custom-dark: #000000;
JSON
{
  "hex": "#a3aa42",
  "rgb": {
    "r": 163,
    "g": 170,
    "b": 66
  },
  "hsl": {
    "h": 64.038,
    "s": 44.068,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71174,
    "c": 0.12738,
    "h": 112.8
  },
  "luminance": 0.36929
}

Semantic roles & 50–950 ramp

primary
#A3AA42
secondary
#8C88C0
accent
#54D45D
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A3AA42

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

Preview Lab → · Contrast checker → · Palette generator →

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