#A9A229#A9A229

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

Color values

HEX#A9A229
RGBrgb(169, 162, 41)
HSLhsl(57, 61%, 41%)
HSVhsv(57, 76%, 66%)
CMYKcmyk(0%, 4.1%, 75.7%, 33.7%)
CIE-LABlab(65.31, -11.23, 59.38)
CIE-LCHlch(65.31, 60.43, 100.71°)
OKLaboklab(69.71% -0.0374 0.1302)
OKLCHoklch(69.71% 0.135 106)
XYZxyz(29.6840, 34.4369, 7.1808)
Luminance0.3444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A229 #2930A9
analogous
#A96229 #A9A229 #70A929
triadic
#A9A229 #29A9A2 #A229A9
tetradic
#A9A229 #29A962 #2930A9 #A92970
square
#A9A229 #29A962 #2930A9 #A92970
split-complementary
#A9A229 #2970A9 #6229A9
monochromatic
#464411 #78731D #A9A229 #D0C83F #DCD670

Accessibility & contrast

On white

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

On black

7.89
#A9A229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9A229
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9A229#FFFFFF#000000##000000
##A9A2291.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C0E
Deuteranopia (green-blind)
#B3A132
Tritanopia (blue-blind)
#B6978B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a9a229;
/* rgb */ color: rgb(169, 162, 41);
/* oklch */ color: oklch(69.7% 0.135 106.0);
Tailwind
colors: {
  custom: {
    50: '#c6bd6d',
    500: '#a9a229',
    950: '#000000',
  },
}
SCSS
$custom: #a9a229;
$custom-light: #c6bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a229",
  "rgb": {
    "r": 169,
    "g": 162,
    "b": 41
  },
  "hsl": {
    "h": 56.719,
    "s": 60.952,
    "l": 41.176
  },
  "oklch": {
    "l": 0.69708,
    "c": 0.13547,
    "h": 106
  },
  "luminance": 0.34436
}

Semantic roles & 50–950 ramp

primary
#A9A229
secondary
#6A6FC3
accent
#4CE444
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A9A229

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

Preview Lab → · Contrast checker → · Palette generator →

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