#A9AF26#A9AF26

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

Color values

HEX#A9AF26
RGBrgb(169, 175, 38)
HSLhsl(63, 64%, 42%)
HSVhsv(63, 78%, 69%)
CMYKcmyk(3.4%, 0%, 78.3%, 31.4%)
CIE-LABlab(68.92, -18.05, 63.64)
CIE-LCHlch(68.92, 66.15, 105.83°)
OKLaboklab(72.59% -0.0566 0.1387)
OKLCHoklch(72.59% 0.15 112.2)
XYZxyz(32.0431, 39.2357, 7.7186)
Luminance0.3923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9AF26 #2C26AF
analogous
#AF7126 #A9AF26 #65AF26
triadic
#A9AF26 #26A9AF #AF26A9
tetradic
#A9AF26 #26AF71 #2C26AF #AF2665
square
#A9AF26 #26AF71 #2C26AF #AF2665
split-complementary
#A9AF26 #2665AF #7126AF
monochromatic
#484A10 #787D1B #A9AF26 #CED53D #DBE070

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A9AF26#FFFFFF#000000##000000
##A9AF261.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)
#BDA700
Deuteranopia (green-blind)
#BDAA33
Tritanopia (blue-blind)
#B5A496
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a9af26;
/* rgb */ color: rgb(169, 175, 38);
/* oklch */ color: oklch(72.6% 0.150 112.2);
Tailwind
colors: {
  custom: {
    50: '#c6c66d',
    500: '#a9af26',
    950: '#000000',
  },
}
SCSS
$custom: #a9af26;
$custom-light: #c6c66d;
$custom-dark: #000000;
JSON
{
  "hex": "#a9af26",
  "rgb": {
    "r": 169,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 62.628,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.7259,
    "c": 0.14984,
    "h": 112.2
  },
  "luminance": 0.39235
}

Semantic roles & 50–950 ramp

primary
#A9AF26
secondary
#6E6AC7
accent
#40E748
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A9AF26

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

Preview Lab → · Contrast checker → · Palette generator →

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