#A9A126#A9A126

#A9A126 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.5% C 0.136 H 105.6°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#A9A126
RGBrgb(169, 161, 38)
HSLhsl(56, 63%, 41%)
HSVhsv(56, 78%, 66%)
CMYKcmyk(0%, 4.7%, 77.5%, 33.7%)
CIE-LABlab(65.01, -10.83, 60.11)
CIE-LCHlch(65.01, 61.08, 100.21°)
OKLaboklab(69.47% -0.0365 0.1312)
OKLCHoklch(69.47% 0.136 105.6)
XYZxyz(29.4582, 34.0658, 6.8570)
Luminance0.3407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A126 #262EA9
analogous
#A95F26 #A9A126 #6FA926
triadic
#A9A126 #26A9A1 #A126A9
tetradic
#A9A126 #26A95F #262EA9 #A9266F
square
#A9A126 #26A95F #262EA9 #A9266F
split-complementary
#A9A126 #266FA9 #5F26A9
monochromatic
#454210 #77711B #A9A126 #D3C93A #DED76C

Accessibility & contrast

On white

2.69
#A9A126 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#A9A126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9A126
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9A126#FFFFFF#000000##000000
##A9A1261.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B06
Deuteranopia (green-blind)
#B3A030
Tritanopia (blue-blind)
#B6968A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a9a126;
/* rgb */ color: rgb(169, 161, 38);
/* oklch */ color: oklch(69.5% 0.136 105.6);
Tailwind
colors: {
  custom: {
    50: '#c6bc6b',
    500: '#a9a126',
    950: '#000000',
  },
}
SCSS
$custom: #a9a126;
$custom-light: #c6bc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a126",
  "rgb": {
    "r": 169,
    "g": 161,
    "b": 38
  },
  "hsl": {
    "h": 56.336,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.6947,
    "c": 0.13618,
    "h": 105.6
  },
  "luminance": 0.34065
}

Semantic roles & 50–950 ramp

primary
#A9A126
secondary
#676CC4
accent
#4CE641
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A9A126

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

Preview Lab → · Contrast checker → · Palette generator →

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