#A9AF28#A9AF28

#A9AF28 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.6% C 0.149 H 112.2°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#A9AF28
RGBrgb(169, 175, 40)
HSLhsl(63, 63%, 42%)
HSVhsv(63, 77%, 69%)
CMYKcmyk(3.4%, 0%, 77.1%, 31.4%)
CIE-LABlab(68.93, -17.97, 63.04)
CIE-LCHlch(68.93, 65.55, 105.91°)
OKLaboklab(72.6% -0.0562 0.1378)
OKLCHoklch(72.6% 0.149 112.2)
XYZxyz(32.0762, 39.2490, 7.8932)
Luminance0.3925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9AF28 #2E28AF
analogous
#AF7228 #A9AF28 #65AF28
triadic
#A9AF28 #28A9AF #AF28A9
tetradic
#A9AF28 #28AF72 #2E28AF #AF2865
square
#A9AF28 #28AF72 #2E28AF #AF2865
split-complementary
#A9AF28 #2865AF #7228AF
monochromatic
#494B11 #797D1D #A9AF28 #CDD441 #DADF73

Accessibility & contrast

On white

2.37
#A9AF28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#A9AF28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9AF28
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9AF28#FFFFFF#000000##000000
##A9AF281.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA701
Deuteranopia (green-blind)
#BDAA34
Tritanopia (blue-blind)
#B5A496
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a9af28;
/* rgb */ color: rgb(169, 175, 40);
/* oklch */ color: oklch(72.6% 0.149 112.2);
Tailwind
colors: {
  custom: {
    50: '#c6c66e',
    500: '#a9af28',
    950: '#000000',
  },
}
SCSS
$custom: #a9af28;
$custom-light: #c6c66e;
$custom-dark: #000000;
JSON
{
  "hex": "#a9af28",
  "rgb": {
    "r": 169,
    "g": 175,
    "b": 40
  },
  "hsl": {
    "h": 62.667,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.72601,
    "c": 0.14885,
    "h": 112.2
  },
  "luminance": 0.39248
}

Semantic roles & 50–950 ramp

primary
#A9AF28
secondary
#716DC6
accent
#42E649
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A9AF28

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

Preview Lab → · Contrast checker → · Palette generator →

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