#A3A71F#A3A71F

#A3A71F is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.2% C 0.146 H 111.4°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#A3A71F
RGBrgb(163, 167, 31)
HSLhsl(62, 69%, 39%)
HSVhsv(62, 81%, 65%)
CMYKcmyk(2.4%, 0%, 81.4%, 34.5%)
CIE-LABlab(66.15, -16.84, 63.02)
CIE-LCHlch(66.15, 65.23, 104.97°)
OKLaboklab(70.25% -0.0535 0.1364)
OKLCHoklch(70.25% 0.146 111.4)
XYZxyz(29.1714, 35.5237, 6.6162)
Luminance0.3552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3A71F #231FA7
analogous
#A7671F #A3A71F #5FA71F
triadic
#A3A71F #1FA3A7 #A71FA3
tetradic
#A3A71F #1FA767 #231FA7 #A71F5F
square
#A3A71F #1FA767 #231FA7 #A71F5F
split-complementary
#A3A71F #1F5FA7 #671FA7
monochromatic
#3E400C #717315 #A3A71F #D3D82B #DDE15F

Accessibility & contrast

On white

2.59
#A3A71F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#A3A71F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3A71F
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3A71F#FFFFFF#000000##000000
##A3A71F1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B5A22C
Tritanopia (blue-blind)
#AF9C8F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a3a71f;
/* rgb */ color: rgb(163, 167, 31);
/* oklch */ color: oklch(70.2% 0.146 111.4);
Tailwind
colors: {
  custom: {
    50: '#c2c069',
    500: '#a3a71f',
    950: '#000000',
  },
}
SCSS
$custom: #a3a71f;
$custom-light: #c2c069;
$custom-dark: #000000;
JSON
{
  "hex": "#a3a71f",
  "rgb": {
    "r": 163,
    "g": 167,
    "b": 31
  },
  "hsl": {
    "h": 61.765,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.70246,
    "c": 0.14649,
    "h": 111.4
  },
  "luminance": 0.35523
}

Semantic roles & 50–950 ramp

primary
#A3A71F
secondary
#5F5CC6
accent
#3CEC41
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A3A71F

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

Preview Lab → · Contrast checker → · Palette generator →

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