#A9A540#A9A540

#A9A540 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.6% C 0.122 H 107.0°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#A9A540
RGBrgb(169, 165, 64)
HSLhsl(58, 45%, 46%)
HSVhsv(58, 62%, 66%)
CMYKcmyk(0%, 2.4%, 62.1%, 33.7%)
CIE-LABlab(66.30, -11.53, 51.29)
CIE-LCHlch(66.30, 52.57, 102.67°)
OKLaboklab(70.55% -0.0358 0.1171)
OKLCHoklch(70.55% 0.122 107)
XYZxyz(30.7438, 35.7164, 10.1240)
Luminance0.3572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A540 #4044A9
analogous
#A97040 #A9A540 #78A940
triadic
#A9A540 #40A9A5 #A540A9
tetradic
#A9A540 #40A970 #4044A9 #A94078
square
#A9A540 #40A970 #4044A9 #A94078
split-complementary
#A9A540 #4078A9 #7040A9
monochromatic
#504E1E #7D7A2F #A9A540 #C4C062 #D5D28F

Accessibility & contrast

On white

2.58
#A9A540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#A9A540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9A540
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9A540#FFFFFF#000000##000000
##A9A5401.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F34
Deuteranopia (green-blind)
#B4A346
Tritanopia (blue-blind)
#B59B90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a9a540;
/* rgb */ color: rgb(169, 165, 64);
/* oklch */ color: oklch(70.6% 0.122 107.0);
Tailwind
colors: {
  custom: {
    50: '#c5bf79',
    500: '#a9a540',
    950: '#000000',
  },
}
SCSS
$custom: #a9a540;
$custom-light: #c5bf79;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a540",
  "rgb": {
    "r": 169,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 57.714,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70553,
    "c": 0.1224,
    "h": 107
  },
  "luminance": 0.35715
}

Semantic roles & 50–950 ramp

primary
#A9A540
secondary
#8587C0
accent
#58D553
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A9A540

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

Preview Lab → · Contrast checker → · Palette generator →

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