#A9A040#A9A040

#A9A040 is a light, moderate yellow. Relative luminance 0.339; OKLCH L 69.5% C 0.117 H 104.0°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#A9A040
RGBrgb(169, 160, 64)
HSLhsl(55, 45%, 46%)
HSVhsv(55, 62%, 66%)
CMYKcmyk(0%, 5.3%, 62.1%, 33.7%)
CIE-LABlab(64.92, -8.90, 49.80)
CIE-LCHlch(64.92, 50.59, 100.13°)
OKLaboklab(69.45% -0.0283 0.1139)
OKLCHoklch(69.45% 0.117 104)
XYZxyz(29.8595, 33.9479, 9.8292)
Luminance0.3395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A040 #4049A9
analogous
#A96B40 #A9A040 #7DA940
triadic
#A9A040 #40A9A0 #A040A9
tetradic
#A9A040 #40A96B #4049A9 #A9407D
square
#A9A040 #40A96B #4049A9 #A9407D
split-complementary
#A9A040 #407DA9 #6B40A9
monochromatic
#504C1E #7D762F #A9A040 #C4BB62 #D5CF8F

Accessibility & contrast

On white

2.70
#A9A040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#A9A040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9A040
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9A040#FFFFFF#000000##000000
##A9A0401.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9B35
Deuteranopia (green-blind)
#B0A045
Tritanopia (blue-blind)
#B5968C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a9a040;
/* rgb */ color: rgb(169, 160, 64);
/* oklch */ color: oklch(69.5% 0.117 104.0);
Tailwind
colors: {
  custom: {
    50: '#c5bb79',
    500: '#a9a040',
    950: '#000000',
  },
}
SCSS
$custom: #a9a040;
$custom-light: #c5bb79;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a040",
  "rgb": {
    "r": 169,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 54.857,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69453,
    "c": 0.11735,
    "h": 104
  },
  "luminance": 0.33947
}

Semantic roles & 50–950 ramp

primary
#A9A040
secondary
#858AC0
accent
#5ED553
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131109
muted
#82807B

Preview Lab

Preview with #A9A040

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

Preview Lab → · Contrast checker → · Palette generator →

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