#A3AF28#A3AF28

#A3AF28 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.1% C 0.151 H 114.8°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#A3AF28
RGBrgb(163, 175, 40)
HSLhsl(65, 63%, 42%)
HSVhsv(65, 77%, 69%)
CMYKcmyk(6.9%, 0%, 77.1%, 31.4%)
CIE-LABlab(68.46, -20.56, 62.44)
CIE-LCHlch(68.46, 65.73, 108.22°)
OKLaboklab(72.11% -0.0631 0.1368)
OKLCHoklch(72.11% 0.151 114.8)
XYZxyz(30.8181, 38.6002, 7.8342)
Luminance0.3860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3AF28 #3428AF
analogous
#AF7728 #A3AF28 #60AF28
triadic
#A3AF28 #28A3AF #AF28A3
tetradic
#A3AF28 #28AF77 #3428AF #AF2860
square
#A3AF28 #28AF77 #3428AF #AF2860
split-complementary
#A3AF28 #2860AF #7728AF
monochromatic
#464B11 #757D1D #A3AF28 #C6D441 #D5DF73

Accessibility & contrast

On white

2.41
#A3AF28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#A3AF28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3AF28
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3AF28#FFFFFF#000000##000000
##A3AF281.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA601
Deuteranopia (green-blind)
#BBA834
Tritanopia (blue-blind)
#AEA496
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a3af28;
/* rgb */ color: rgb(163, 175, 40);
/* oklch */ color: oklch(72.1% 0.151 114.8);
Tailwind
colors: {
  custom: {
    50: '#c2c66e',
    500: '#a3af28',
    950: '#000000',
  },
}
SCSS
$custom: #a3af28;
$custom-light: #c2c66e;
$custom-dark: #000000;
JSON
{
  "hex": "#a3af28",
  "rgb": {
    "r": 163,
    "g": 175,
    "b": 40
  },
  "hsl": {
    "h": 65.333,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.72107,
    "c": 0.1506,
    "h": 114.8
  },
  "luminance": 0.386
}

Semantic roles & 50–950 ramp

primary
#A3AF28
secondary
#756DC6
accent
#42E651
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A3AF28

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

Preview Lab → · Contrast checker → · Palette generator →

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