#A4AF48#A4AF48

#A4AF48 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.4% C 0.128 H 114.7°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#A4AF48
RGBrgb(164, 175, 72)
HSLhsl(66, 42%, 48%)
HSVhsv(66, 59%, 69%)
CMYKcmyk(6.3%, 0%, 58.9%, 31.4%)
CIE-LABlab(68.77, -18.23, 50.30)
CIE-LCHlch(68.77, 53.50, 109.92°)
OKLaboklab(72.45% -0.0535 0.1161)
OKLCHoklch(72.45% 0.128 114.7)
XYZxyz(31.8102, 39.0208, 11.9857)
Luminance0.3902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4AF48 #5348AF
analogous
#AF8648 #A4AF48 #70AF48
triadic
#A4AF48 #48A4AF #AF48A4
tetradic
#A4AF48 #48AF86 #5348AF #AF4870
square
#A4AF48 #48AF86 #5348AF #AF4870
split-complementary
#A4AF48 #4870AF #8648AF
monochromatic
#535824 #7B8436 #A4AF48 #BBC470 #D0D69B

Accessibility & contrast

On white

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

On black

8.80
#A4AF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4AF48
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4AF48#FFFFFF#000000##000000
##A4AF481.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA73D
Deuteranopia (green-blind)
#BAA94E
Tritanopia (blue-blind)
#AEA699
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a4af48;
/* rgb */ color: rgb(164, 175, 72);
/* oklch */ color: oklch(72.4% 0.128 114.7);
Tailwind
colors: {
  custom: {
    50: '#c1c67f',
    500: '#a4af48',
    950: '#000000',
  },
}
SCSS
$custom: #a4af48;
$custom-light: #c1c67f;
$custom-dark: #000000;
JSON
{
  "hex": "#a4af48",
  "rgb": {
    "r": 164,
    "g": 175,
    "b": 72
  },
  "hsl": {
    "h": 66.408,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.72445,
    "c": 0.12786,
    "h": 114.7
  },
  "luminance": 0.3902
}

Semantic roles & 50–950 ramp

primary
#A4AF48
secondary
#9690C2
accent
#56D263
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A4AF48

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

Preview Lab → · Contrast checker → · Palette generator →

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