#A4AF41#A4AF41

#A4AF41 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.4% C 0.134 H 114.6°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#A4AF41
RGBrgb(164, 175, 65)
HSLhsl(66, 46%, 47%)
HSVhsv(66, 63%, 69%)
CMYKcmyk(6.3%, 0%, 62.9%, 31.4%)
CIE-LABlab(68.70, -18.74, 53.32)
CIE-LCHlch(68.70, 56.51, 109.37°)
OKLaboklab(72.38% -0.0557 0.1216)
OKLCHoklch(72.38% 0.134 114.6)
XYZxyz(31.5947, 38.9346, 10.8508)
Luminance0.3893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4AF41 #4C41AF
analogous
#AF8341 #A4AF41 #6DAF41
triadic
#A4AF41 #41A4AF #AF41A4
tetradic
#A4AF41 #41AF83 #4C41AF #AF416D
square
#A4AF41 #41AF83 #4C41AF #AF416D
split-complementary
#A4AF41 #416DAF #8341AF
monochromatic
#505620 #7A8230 #A4AF41 #BDC667 #D0D793

Accessibility & contrast

On white

2.39
#A4AF41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#A4AF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4AF41
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4AF41#FFFFFF#000000##000000
##A4AF411.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA733
Deuteranopia (green-blind)
#BAA948
Tritanopia (blue-blind)
#AEA598
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a4af41;
/* rgb */ color: rgb(164, 175, 65);
/* oklch */ color: oklch(72.4% 0.134 114.6);
Tailwind
colors: {
  custom: {
    50: '#c2c67b',
    500: '#a4af41',
    950: '#000000',
  },
}
SCSS
$custom: #a4af41;
$custom-light: #c2c67b;
$custom-dark: #000000;
JSON
{
  "hex": "#a4af41",
  "rgb": {
    "r": 164,
    "g": 175,
    "b": 65
  },
  "hsl": {
    "h": 66,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72375,
    "c": 0.13375,
    "h": 114.6
  },
  "luminance": 0.38934
}

Semantic roles & 50–950 ramp

primary
#A4AF41
secondary
#8F89C2
accent
#52D55F
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A4AF41

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

Preview Lab → · Contrast checker → · Palette generator →

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