#A9A223#A9A223

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

Color values

HEX#A9A223
RGBrgb(169, 162, 35)
HSLhsl(57, 66%, 40%)
HSVhsv(57, 79%, 66%)
CMYKcmyk(0%, 4.1%, 79.3%, 33.7%)
CIE-LABlab(65.28, -11.47, 61.29)
CIE-LCHlch(65.28, 62.35, 100.60°)
OKLaboklab(69.67% -0.0386 0.1331)
OKLCHoklch(69.67% 0.139 106.2)
XYZxyz(29.5872, 34.3981, 6.6708)
Luminance0.3440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A223 #232AA9
analogous
#A95F23 #A9A223 #6DA923
triadic
#A9A223 #23A9A2 #A223A9
tetradic
#A9A223 #23A95F #232AA9 #A9236D
square
#A9A223 #23A95F #232AA9 #A9236D
split-complementary
#A9A223 #236DA9 #5F23A9
monochromatic
#44410E #767119 #A9A223 #D5CD34 #DFD967

Accessibility & contrast

On white

2.67
#A9A223 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A9A223#FFFFFF#000000##000000
##A9A2231.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a9a223;
/* rgb */ color: rgb(169, 162, 35);
/* oklch */ color: oklch(69.7% 0.139 106.2);
Tailwind
colors: {
  custom: {
    50: '#c6bd6a',
    500: '#a9a223',
    950: '#000000',
  },
}
SCSS
$custom: #a9a223;
$custom-light: #c6bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a223",
  "rgb": {
    "r": 169,
    "g": 162,
    "b": 35
  },
  "hsl": {
    "h": 56.866,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.69674,
    "c": 0.1386,
    "h": 106.2
  },
  "luminance": 0.34397
}

Semantic roles & 50–950 ramp

primary
#A9A223
secondary
#6368C5
accent
#48E93F
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141207
muted
#82817A

Preview Lab

Preview with #A9A223

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

Preview Lab → · Contrast checker → · Palette generator →

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