#A9A22B#A9A22B

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

Color values

HEX#A9A22B
RGBrgb(169, 162, 43)
HSLhsl(57, 59%, 42%)
HSVhsv(57, 75%, 66%)
CMYKcmyk(0%, 4.1%, 74.6%, 33.7%)
CIE-LABlab(65.32, -11.14, 58.70)
CIE-LCHlch(65.32, 59.75, 100.75°)
OKLaboklab(69.72% -0.0369 0.1291)
OKLCHoklch(69.72% 0.134 106)
XYZxyz(29.7198, 34.4512, 7.3693)
Luminance0.3445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A22B #2B32A9
analogous
#A9632B #A9A22B #71A92B
triadic
#A9A22B #2BA9A2 #A22BA9
tetradic
#A9A22B #2BA963 #2B32A9 #A92B71
square
#A9A22B #2BA963 #2B32A9 #A92B71
split-complementary
#A9A22B #2B71A9 #632BA9
monochromatic
#474412 #78731F #A9A22B #CFC742 #DBD673

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A9A22B#FFFFFF#000000##000000
##A9A22B1.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)
#B09C13
Deuteranopia (green-blind)
#B3A134
Tritanopia (blue-blind)
#B6978B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a9a22b;
/* rgb */ color: rgb(169, 162, 43);
/* oklch */ color: oklch(69.7% 0.134 106.0);
Tailwind
colors: {
  custom: {
    50: '#c6bd6e',
    500: '#a9a22b',
    950: '#000000',
  },
}
SCSS
$custom: #a9a22b;
$custom-light: #c6bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a22b",
  "rgb": {
    "r": 169,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 56.667,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69721,
    "c": 0.13432,
    "h": 106
  },
  "luminance": 0.3445
}

Semantic roles & 50–950 ramp

primary
#A9A22B
secondary
#6D72C3
accent
#4EE345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A9A22B

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

Preview Lab → · Contrast checker → · Palette generator →

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