#A3AF40#A3AF40

#A3AF40 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.3% C 0.135 H 115.1°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#A3AF40
RGBrgb(163, 175, 64)
HSLhsl(66, 46%, 47%)
HSVhsv(66, 63%, 69%)
CMYKcmyk(6.9%, 0%, 63.4%, 31.4%)
CIE-LABlab(68.62, -19.23, 53.63)
CIE-LCHlch(68.62, 56.97, 109.73°)
OKLaboklab(72.28% -0.0571 0.1221)
OKLCHoklch(72.28% 0.135 115.1)
XYZxyz(31.3604, 38.8171, 10.6899)
Luminance0.3882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3AF40 #4C40AF
analogous
#AF8340 #A3AF40 #6CAF40
triadic
#A3AF40 #40A3AF #AF40A3
tetradic
#A3AF40 #40AF83 #4C40AF #AF406C
square
#A3AF40 #40AF83 #4C40AF #AF406C
split-complementary
#A3AF40 #406CAF #8340AF
monochromatic
#50551F #798230 #A3AF40 #BCC765 #D0D792

Accessibility & contrast

On white

2.40
#A3AF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#A3AF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3AF40
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3AF40#FFFFFF#000000##000000
##A3AF401.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA732
Deuteranopia (green-blind)
#BAA847
Tritanopia (blue-blind)
#ADA598
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a3af40;
/* rgb */ color: rgb(163, 175, 64);
/* oklch */ color: oklch(72.3% 0.135 115.1);
Tailwind
colors: {
  custom: {
    50: '#c1c67a',
    500: '#a3af40',
    950: '#000000',
  },
}
SCSS
$custom: #a3af40;
$custom-light: #c1c67a;
$custom-dark: #000000;
JSON
{
  "hex": "#a3af40",
  "rgb": {
    "r": 163,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 66.486,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.72284,
    "c": 0.13484,
    "h": 115.1
  },
  "luminance": 0.38817
}

Semantic roles & 50–950 ramp

primary
#A3AF40
secondary
#8F88C3
accent
#52D660
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A3AF40

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

Preview Lab → · Contrast checker → · Palette generator →

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