#C9C81A#C9C81A

#C9C81A is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.7% C 0.171 H 109.3°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#C9C81A
RGBrgb(201, 200, 26)
HSLhsl(60, 77%, 45%)
HSVhsv(60, 87%, 79%)
CMYKcmyk(0%, 0.5%, 87.1%, 21.2%)
CIE-LABlab(78.35, -17.17, 75.56)
CIE-LCHlch(78.35, 77.49, 102.80°)
OKLaboklab(80.75% -0.0565 0.1611)
OKLCHoklch(80.75% 0.171 109.3)
XYZxyz(44.9300, 53.8021, 8.9952)
Luminance0.5380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C81A #1A1BC9
analogous
#C9711A #C9C81A #73C91A
triadic
#C9C81A #1AC9C8 #C81AC9
tetradic
#C9C81A #1AC971 #1A1BC9 #C91A73
square
#C9C81A #1AC971 #1A1BC9 #C91A73
split-complementary
#C9C81A #1A73C9 #711AC9
monochromatic
#5D5C0C #939213 #C9C81A #E6E53B #EDEC71

Accessibility & contrast

On white

1.79
#C9C81A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#C9C81A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C81A
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C81A#FFFFFF#000000##000000
##C9C81A1.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9BF00
Deuteranopia (green-blind)
#DBC42F
Tritanopia (blue-blind)
#D8BAAB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c9c81a;
/* rgb */ color: rgb(201, 200, 26);
/* oklch */ color: oklch(80.7% 0.171 109.3);
Tailwind
colors: {
  custom: {
    50: '#ded86d',
    500: '#c9c81a',
    950: '#000000',
  },
}
SCSS
$custom: #c9c81a;
$custom-light: #ded86d;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c81a",
  "rgb": {
    "r": 201,
    "g": 200,
    "b": 26
  },
  "hsl": {
    "h": 59.657,
    "s": 77.093,
    "l": 44.51
  },
  "oklch": {
    "l": 0.80746,
    "c": 0.17074,
    "h": 109.3
  },
  "luminance": 0.53801
}

Semantic roles & 50–950 ramp

primary
#C9C81A
secondary
#1F2068
accent
#35F434
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161408
muted
#84837D

Preview Lab

Preview with #C9C81A

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

Preview Lab → · Contrast checker → · Palette generator →

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