#A9AF2D#A9AF2D

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

Color values

HEX#A9AF2D
RGBrgb(169, 175, 45)
HSLhsl(63, 59%, 43%)
HSVhsv(63, 74%, 69%)
CMYKcmyk(3.4%, 0%, 74.3%, 31.4%)
CIE-LABlab(68.96, -17.76, 61.44)
CIE-LCHlch(68.96, 63.95, 106.12°)
OKLaboklab(72.63% -0.0552 0.1353)
OKLCHoklch(72.63% 0.146 112.2)
XYZxyz(32.1669, 39.2852, 8.3704)
Luminance0.3928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9AF2D #332DAF
analogous
#AF742D #A9AF2D #68AF2D
triadic
#A9AF2D #2DA9AF #AF2DA9
tetradic
#A9AF2D #2DAF74 #332DAF #AF2D68
square
#A9AF2D #2DAF74 #332DAF #AF2D68
split-complementary
#A9AF2D #2D68AF #742DAF
monochromatic
#4B4E14 #7A7E20 #A9AF2D #CAD049 #D8DD7A

Accessibility & contrast

On white

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

On black

8.86
#A9AF2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9AF2D
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9AF2D#FFFFFF#000000##000000
##A9AF2D1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a9af2d;
/* rgb */ color: rgb(169, 175, 45);
/* oklch */ color: oklch(72.6% 0.146 112.2);
Tailwind
colors: {
  custom: {
    50: '#c6c670',
    500: '#a9af2d',
    950: '#000000',
  },
}
SCSS
$custom: #a9af2d;
$custom-light: #c6c670;
$custom-dark: #000000;
JSON
{
  "hex": "#a9af2d",
  "rgb": {
    "r": 169,
    "g": 175,
    "b": 45
  },
  "hsl": {
    "h": 62.769,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.7263,
    "c": 0.14614,
    "h": 112.2
  },
  "luminance": 0.39284
}

Semantic roles & 50–950 ramp

primary
#A9AF2D
secondary
#7773C5
accent
#46E24D
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A9AF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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