#C9C91A#C9C91A

#C9C91A is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.0% C 0.172 H 109.7°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#C9C91A
RGBrgb(201, 201, 26)
HSLhsl(60, 77%, 45%)
HSVhsv(60, 87%, 79%)
CMYKcmyk(0%, 0%, 87.1%, 21.2%)
CIE-LABlab(78.62, -17.67, 75.78)
CIE-LCHlch(78.62, 77.81, 103.12°)
OKLaboklab(80.96% -0.0578 0.1616)
OKLCHoklch(80.96% 0.172 109.7)
XYZxyz(45.1623, 54.2668, 9.0726)
Luminance0.5426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C91A #1A1AC9
analogous
#C9721A #C9C91A #72C91A
triadic
#C9C91A #1AC9C9 #C91AC9
tetradic
#C9C91A #1AC972 #1A1AC9 #C91A72
square
#C9C91A #1AC972 #1A1AC9 #C91A72
split-complementary
#C9C91A #1A72C9 #721AC9
monochromatic
#5D5D0C #939313 #C9C91A #E6E63B #EDED71

Accessibility & contrast

On white

1.77
#C9C91A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#C9C91A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C91A
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C91A#FFFFFF#000000##000000
##C9C91A1.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC000
Deuteranopia (green-blind)
#DCC52F
Tritanopia (blue-blind)
#D8BBAB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c9c91a;
/* rgb */ color: rgb(201, 201, 26);
/* oklch */ color: oklch(81.0% 0.172 109.7);
Tailwind
colors: {
  custom: {
    50: '#ded96d',
    500: '#c9c91a',
    950: '#000000',
  },
}
SCSS
$custom: #c9c91a;
$custom-light: #ded96d;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c91a",
  "rgb": {
    "r": 201,
    "g": 201,
    "b": 26
  },
  "hsl": {
    "h": 60,
    "s": 77.093,
    "l": 44.51
  },
  "oklch": {
    "l": 0.80963,
    "c": 0.17166,
    "h": 109.7
  },
  "luminance": 0.54265
}

Semantic roles & 50–950 ramp

primary
#C9C91A
secondary
#1F1F68
accent
#34F434
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161408
muted
#84837D

Preview Lab

Preview with #C9C91A

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

Preview Lab → · Contrast checker → · Palette generator →

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