#A3AF48#A3AF48

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

Color values

HEX#A3AF48
RGBrgb(163, 175, 72)
HSLhsl(67, 42%, 48%)
HSVhsv(67, 59%, 69%)
CMYKcmyk(6.9%, 0%, 58.9%, 31.4%)
CIE-LABlab(68.69, -18.64, 50.19)
CIE-LCHlch(68.69, 53.54, 110.38°)
OKLaboklab(72.36% -0.0546 0.1159)
OKLCHoklch(72.36% 0.128 115.2)
XYZxyz(31.6046, 38.9148, 11.9760)
Luminance0.3891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3AF48 #5448AF
analogous
#AF8748 #A3AF48 #6FAF48
triadic
#A3AF48 #48A3AF #AF48A3
tetradic
#A3AF48 #48AF87 #5448AF #AF486F
square
#A3AF48 #48AF87 #5448AF #AF486F
split-complementary
#A3AF48 #486FAF #8748AF
monochromatic
#525824 #7B8436 #A3AF48 #BAC470 #CFD69B

Accessibility & contrast

On white

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

On black

8.78
#A3AF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3AF48
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3AF48#FFFFFF#000000##000000
##A3AF481.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA73D
Deuteranopia (green-blind)
#BAA84E
Tritanopia (blue-blind)
#ADA699
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a3af48;
/* rgb */ color: rgb(163, 175, 72);
/* oklch */ color: oklch(72.4% 0.128 115.2);
Tailwind
colors: {
  custom: {
    50: '#c1c67f',
    500: '#a3af48',
    950: '#000000',
  },
}
SCSS
$custom: #a3af48;
$custom-light: #c1c67f;
$custom-dark: #000000;
JSON
{
  "hex": "#a3af48",
  "rgb": {
    "r": 163,
    "g": 175,
    "b": 72
  },
  "hsl": {
    "h": 66.99,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.72364,
    "c": 0.12815,
    "h": 115.2
  },
  "luminance": 0.38914
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A3AF48

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

Preview Lab → · Contrast checker → · Palette generator →

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