#C9A121#C9A121

#C9A121 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.6% C 0.140 H 89.5°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#C9A121
RGBrgb(201, 161, 33)
HSLhsl(46, 72%, 46%)
HSVhsv(46, 84%, 79%)
CMYKcmyk(0%, 19.9%, 83.6%, 21.2%)
CIE-LABlab(68.04, 3.22, 65.45)
CIE-LCHlch(68.04, 65.53, 87.18°)
OKLaboklab(72.57% 0.0011 0.1401)
OKLCHoklch(72.57% 0.14 89.5)
XYZxyz(37.1091, 38.0196, 6.8225)
Luminance0.3802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9A121 #2149C9
analogous
#C94D21 #C9A121 #9DC921
triadic
#C9A121 #21C9A1 #A121C9
tetradic
#C9A121 #21C94D #2149C9 #C9219D
square
#C9A121 #21C94D #2149C9 #C9219D
split-complementary
#C9A121 #219DC9 #4D21C9
monochromatic
#604D10 #947718 #C9A121 #E1BC46 #E9CF7B

Accessibility & contrast

On white

2.44
#C9A121 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#C9A121 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9A121
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9A121#FFFFFF#000000##000000
##C9A1211.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#BEAA2A
Tritanopia (blue-blind)
#DA928A
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c9a121;
/* rgb */ color: rgb(201, 161, 33);
/* oklch */ color: oklch(72.6% 0.140 89.5);
Tailwind
colors: {
  custom: {
    50: '#debc6a',
    500: '#c9a121',
    950: '#000000',
  },
}
SCSS
$custom: #c9a121;
$custom-light: #debc6a;
$custom-dark: #000000;
JSON
{
  "hex": "#c9a121",
  "rgb": {
    "r": 201,
    "g": 161,
    "b": 33
  },
  "hsl": {
    "h": 45.714,
    "s": 71.795,
    "l": 45.882
  },
  "oklch": {
    "l": 0.72568,
    "c": 0.1401,
    "h": 89.5
  },
  "luminance": 0.38017
}

Semantic roles & 50–950 ramp

primary
#C9A121
secondary
#758BD1
accent
#64EF39
background
#FEFBF6
surface
#FDF6EC
border
#D5D0C7
text
#161107
muted
#84807A

Preview Lab

Preview with #C9A121

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

Preview Lab → · Contrast checker → · Palette generator →

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