#A9AF2C#A9AF2C

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

Color values

HEX#A9AF2C
RGBrgb(169, 175, 44)
HSLhsl(63, 60%, 43%)
HSVhsv(63, 75%, 69%)
CMYKcmyk(3.4%, 0%, 74.9%, 31.4%)
CIE-LABlab(68.95, -17.80, 61.77)
CIE-LCHlch(68.95, 64.28, 106.08°)
OKLaboklab(72.62% -0.0554 0.1358)
OKLCHoklch(72.62% 0.147 112.2)
XYZxyz(32.1478, 39.2776, 8.2702)
Luminance0.3928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9AF2C #322CAF
analogous
#AF732C #A9AF2C #67AF2C
triadic
#A9AF2C #2CA9AF #AF2CA9
tetradic
#A9AF2C #2CAF73 #322CAF #AF2C67
square
#A9AF2C #2CAF73 #322CAF #AF2C67
split-complementary
#A9AF2C #2C67AF #732CAF
monochromatic
#4B4D13 #7A7E20 #A9AF2C #CBD147 #D9DD78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A9AF2C#FFFFFF#000000##000000
##A9AF2C1.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)
#BDA70E
Deuteranopia (green-blind)
#BDAA37
Tritanopia (blue-blind)
#B5A496
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a9af2c;
/* rgb */ color: rgb(169, 175, 44);
/* oklch */ color: oklch(72.6% 0.147 112.2);
Tailwind
colors: {
  custom: {
    50: '#c6c670',
    500: '#a9af2c',
    950: '#000000',
  },
}
SCSS
$custom: #a9af2c;
$custom-light: #c6c670;
$custom-dark: #000000;
JSON
{
  "hex": "#a9af2c",
  "rgb": {
    "r": 169,
    "g": 175,
    "b": 44
  },
  "hsl": {
    "h": 62.748,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72624,
    "c": 0.14671,
    "h": 112.2
  },
  "luminance": 0.39277
}

Semantic roles & 50–950 ramp

primary
#A9AF2C
secondary
#7672C5
accent
#45E34C
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A9AF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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