#A3A871#A3A871

#A3A871 is a light, moderate yellow. Relative luminance 0.370; OKLCH L 71.4% C 0.075 H 112.5°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#A3A871
RGBrgb(163, 168, 113)
HSLhsl(65, 24%, 55%)
HSVhsv(65, 33%, 66%)
CMYKcmyk(3%, 0%, 32.7%, 34.1%)
CIE-LABlab(67.27, -10.75, 27.88)
CIE-LCHlch(67.27, 29.88, 111.08°)
OKLaboklab(71.4% -0.0287 0.0692)
OKLCHoklch(71.4% 0.075 112.5)
XYZxyz(32.0876, 36.9844, 21.0679)
Luminance0.3698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3A871 #7671A8
analogous
#A89271 #A3A871 #87A871
triadic
#A3A871 #71A3A8 #A871A3
tetradic
#A3A871 #71A892 #7671A8 #A87187
square
#A3A871 #71A892 #7671A8 #A87187
split-complementary
#A3A871 #7187A8 #9271A8
monochromatic
#5F623C #838854 #A3A871 #BCBF97 #D4D7BD

Accessibility & contrast

On white

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

On black

8.40
#A3A871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3A871
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3A871#FFFFFF#000000##000000
##A3A8711.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A36D
Deuteranopia (green-blind)
#B0A473
Tritanopia (blue-blind)
#AAA29A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a3a871;
/* rgb */ color: rgb(163, 168, 113);
/* oklch */ color: oklch(71.4% 0.075 112.5);
Tailwind
colors: {
  custom: {
    50: '#bfc19a',
    500: '#a3a871',
    950: '#000000',
  },
}
SCSS
$custom: #a3a871;
$custom-light: #bfc19a;
$custom-dark: #000000;
JSON
{
  "hex": "#a3a871",
  "rgb": {
    "r": 163,
    "g": 168,
    "b": 113
  },
  "hsl": {
    "h": 65.455,
    "s": 24.017,
    "l": 55.098
  },
  "oklch": {
    "l": 0.71401,
    "c": 0.07496,
    "h": 112.5
  },
  "luminance": 0.36984
}

Semantic roles & 50–950 ramp

primary
#A3A871
secondary
#B1AFC6
accent
#67C06F
background
#FBFBF9
surface
#F7F7F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #A3A871

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

Preview Lab → · Contrast checker → · Palette generator →

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