#A9A226#A9A226

#A9A226 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.7% C 0.137 H 106.1°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#A9A226
RGBrgb(169, 162, 38)
HSLhsl(57, 63%, 41%)
HSVhsv(57, 78%, 66%)
CMYKcmyk(0%, 4.1%, 77.5%, 33.7%)
CIE-LABlab(65.29, -11.36, 60.36)
CIE-LCHlch(65.29, 61.42, 100.65°)
OKLaboklab(69.69% -0.038 0.1317)
OKLCHoklch(69.69% 0.137 106.1)
XYZxyz(29.6336, 34.4167, 6.9155)
Luminance0.3442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A226 #262DA9
analogous
#A96026 #A9A226 #6EA926
triadic
#A9A226 #26A9A2 #A226A9
tetradic
#A9A226 #26A960 #262DA9 #A9266E
square
#A9A226 #26A960 #262DA9 #A9266E
split-complementary
#A9A226 #266EA9 #6026A9
monochromatic
#454210 #77721B #A9A226 #D3CA3A #DED86C

Accessibility & contrast

On white

2.66
#A9A226 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#A9A226 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9A226
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9A226#FFFFFF#000000##000000
##A9A2261.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C05
Deuteranopia (green-blind)
#B3A130
Tritanopia (blue-blind)
#B6978B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a9a226;
/* rgb */ color: rgb(169, 162, 38);
/* oklch */ color: oklch(69.7% 0.137 106.1);
Tailwind
colors: {
  custom: {
    50: '#c6bd6b',
    500: '#a9a226',
    950: '#000000',
  },
}
SCSS
$custom: #a9a226;
$custom-light: #c6bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a226",
  "rgb": {
    "r": 169,
    "g": 162,
    "b": 38
  },
  "hsl": {
    "h": 56.794,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.6969,
    "c": 0.13709,
    "h": 106.1
  },
  "luminance": 0.34416
}

Semantic roles & 50–950 ramp

primary
#A9A226
secondary
#676CC4
accent
#4AE641
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A9A226

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

Preview Lab → · Contrast checker → · Palette generator →

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