#A9AF27#A9AF27

#A9AF27 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#A9AF27
RGBrgb(169, 175, 39)
HSLhsl(63, 64%, 42%)
HSVhsv(63, 78%, 69%)
CMYKcmyk(3.4%, 0%, 77.7%, 31.4%)
CIE-LABlab(68.93, -18.01, 63.34)
CIE-LCHlch(68.93, 65.86, 105.87°)
OKLaboklab(72.6% -0.0564 0.1383)
OKLCHoklch(72.6% 0.149 112.2)
XYZxyz(32.0595, 39.2422, 7.8048)
Luminance0.3924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9AF27 #2D27AF
analogous
#AF7127 #A9AF27 #65AF27
triadic
#A9AF27 #27A9AF #AF27A9
tetradic
#A9AF27 #27AF71 #2D27AF #AF2765
square
#A9AF27 #27AF71 #2D27AF #AF2765
split-complementary
#A9AF27 #2765AF #7127AF
monochromatic
#484B11 #797D1C #A9AF27 #CED43F #DADF71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A9AF27#FFFFFF#000000##000000
##A9AF271.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: #a9af27;
/* rgb */ color: rgb(169, 175, 39);
/* oklch */ color: oklch(72.6% 0.149 112.2);
Tailwind
colors: {
  custom: {
    50: '#c6c66d',
    500: '#a9af27',
    950: '#000000',
  },
}
SCSS
$custom: #a9af27;
$custom-light: #c6c66d;
$custom-dark: #000000;
JSON
{
  "hex": "#a9af27",
  "rgb": {
    "r": 169,
    "g": 175,
    "b": 39
  },
  "hsl": {
    "h": 62.647,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.72595,
    "c": 0.14935,
    "h": 112.2
  },
  "luminance": 0.39241
}

Semantic roles & 50–950 ramp

primary
#A9AF27
secondary
#6F6BC6
accent
#41E749
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A9AF27

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

Preview Lab → · Contrast checker → · Palette generator →

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