#C9A421#C9A421

#C9A421 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 73.2% C 0.142 H 91.4°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#C9A421
RGBrgb(201, 164, 33)
HSLhsl(47, 72%, 46%)
HSVhsv(47, 84%, 79%)
CMYKcmyk(0%, 18.4%, 83.6%, 21.2%)
CIE-LABlab(68.81, 1.62, 66.11)
CIE-LCHlch(68.81, 66.13, 88.60°)
OKLaboklab(73.18% -0.0034 0.1415)
OKLCHoklch(73.18% 0.142 91.4)
XYZxyz(37.6397, 39.0807, 6.9994)
Luminance0.3908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9A421 #2146C9
analogous
#C95021 #C9A421 #9AC921
triadic
#C9A421 #21C9A4 #A421C9
tetradic
#C9A421 #21C950 #2146C9 #C9219A
square
#C9A421 #21C950 #2146C9 #C9219A
split-complementary
#C9A421 #219AC9 #5021C9
monochromatic
#604E10 #947918 #C9A421 #E1BF46 #E9D17B

Accessibility & contrast

On white

2.38
#C9A421 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#C9A421 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9A421
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9A421#FFFFFF#000000##000000
##C9A4211.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#C1AC2B
Tritanopia (blue-blind)
#DA958C
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c9a421;
/* rgb */ color: rgb(201, 164, 33);
/* oklch */ color: oklch(73.2% 0.142 91.4);
Tailwind
colors: {
  custom: {
    50: '#debe6a',
    500: '#c9a421',
    950: '#000000',
  },
}
SCSS
$custom: #c9a421;
$custom-light: #debe6a;
$custom-dark: #000000;
JSON
{
  "hex": "#c9a421",
  "rgb": {
    "r": 201,
    "g": 164,
    "b": 33
  },
  "hsl": {
    "h": 46.786,
    "s": 71.795,
    "l": 45.882
  },
  "oklch": {
    "l": 0.73178,
    "c": 0.14157,
    "h": 91.4
  },
  "luminance": 0.39078
}

Semantic roles & 50–950 ramp

primary
#C9A421
secondary
#7589D1
accent
#61EF39
background
#FEFBF6
surface
#FDF6EC
border
#D5D0C7
text
#161207
muted
#84817A

Preview Lab

Preview with #C9A421

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

Preview Lab → · Contrast checker → · Palette generator →

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