#C9C91B#C9C91B

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

Color values

HEX#C9C91B
RGBrgb(201, 201, 27)
HSLhsl(60, 76%, 45%)
HSVhsv(60, 87%, 79%)
CMYKcmyk(0%, 0%, 86.6%, 21.2%)
CIE-LABlab(78.62, -17.64, 75.59)
CIE-LCHlch(78.62, 77.62, 103.14°)
OKLaboklab(80.97% -0.0577 0.1614)
OKLCHoklch(80.97% 0.171 109.7)
XYZxyz(45.1737, 54.2714, 9.1325)
Luminance0.5427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C91B #1B1BC9
analogous
#C9721B #C9C91B #72C91B
triadic
#C9C91B #1BC9C9 #C91BC9
tetradic
#C9C91B #1BC972 #1B1BC9 #C91B72
square
#C9C91B #1BC972 #1B1BC9 #C91B72
split-complementary
#C9C91B #1B72C9 #721BC9
monochromatic
#5D5D0D #939314 #C9C91B #E5E53C #ECEC72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9C91B#FFFFFF#000000##000000
##C9C91B1.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)
#D8BBAC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c9c91b;
/* rgb */ color: rgb(201, 201, 27);
/* oklch */ color: oklch(81.0% 0.171 109.7);
Tailwind
colors: {
  custom: {
    50: '#ded96d',
    500: '#c9c91b',
    950: '#000000',
  },
}
SCSS
$custom: #c9c91b;
$custom-light: #ded96d;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c91b",
  "rgb": {
    "r": 201,
    "g": 201,
    "b": 27
  },
  "hsl": {
    "h": 60,
    "s": 76.316,
    "l": 44.706
  },
  "oklch": {
    "l": 0.80966,
    "c": 0.17137,
    "h": 109.7
  },
  "luminance": 0.5427
}

Semantic roles & 50–950 ramp

primary
#C9C91B
secondary
#202068
accent
#35F335
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161408
muted
#84837D

Preview Lab

Preview with #C9C91B

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

Preview Lab → · Contrast checker → · Palette generator →

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