#A9A237#A9A237

#A9A237 is a light, vivid yellow. Relative luminance 0.346; OKLCH L 69.8% C 0.126 H 105.6°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#A9A237
RGBrgb(169, 162, 55)
HSLhsl(56, 51%, 44%)
HSVhsv(56, 67%, 66%)
CMYKcmyk(0%, 4.1%, 67.5%, 33.7%)
CIE-LABlab(65.40, -10.53, 54.19)
CIE-LCHlch(65.40, 55.20, 100.99°)
OKLaboklab(69.81% -0.0339 0.1218)
OKLCHoklch(69.81% 0.126 105.6)
XYZxyz(29.9732, 34.5526, 8.7041)
Luminance0.3455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A237 #373EA9
analogous
#A96937 #A9A237 #77A937
triadic
#A9A237 #37A9A2 #A237A9
tetradic
#A9A237 #37A969 #373EA9 #A93777
square
#A9A237 #37A969 #373EA9 #A93777
split-complementary
#A9A237 #3777A9 #6937A9
monochromatic
#4D4919 #7B7628 #A9A237 #C8C155 #D7D284

Accessibility & contrast

On white

2.65
#A9A237 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#A9A237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9A237
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9A237#FFFFFF#000000##000000
##A9A2371.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C28
Deuteranopia (green-blind)
#B2A13E
Tritanopia (blue-blind)
#B5978C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a9a237;
/* rgb */ color: rgb(169, 162, 55);
/* oklch */ color: oklch(69.8% 0.126 105.6);
Tailwind
colors: {
  custom: {
    50: '#c6bd74',
    500: '#a9a237',
    950: '#000000',
  },
}
SCSS
$custom: #a9a237;
$custom-light: #c6bd74;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a237",
  "rgb": {
    "r": 169,
    "g": 162,
    "b": 55
  },
  "hsl": {
    "h": 56.316,
    "s": 50.893,
    "l": 43.922
  },
  "oklch": {
    "l": 0.6981,
    "c": 0.1264,
    "h": 105.6
  },
  "luminance": 0.34552
}

Semantic roles & 50–950 ramp

primary
#A9A237
secondary
#7B80C0
accent
#56DA4D
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A9A237

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

Preview Lab → · Contrast checker → · Palette generator →

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