#C9C836#C9C836

#C9C836 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 80.9% C 0.159 H 109.1°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#C9C836
RGBrgb(201, 200, 54)
HSLhsl(60, 58%, 50%)
HSVhsv(60, 73%, 79%)
CMYKcmyk(0%, 0.5%, 73.1%, 21.2%)
CIE-LABlab(78.46, -16.27, 68.27)
CIE-LCHlch(78.46, 70.18, 103.41°)
OKLaboklab(80.87% -0.052 0.1503)
OKLCHoklch(80.87% 0.159 109.1)
XYZxyz(45.4092, 53.9938, 11.5192)
Luminance0.5399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C836 #3637C9
analogous
#C97F36 #C9C836 #80C936
triadic
#C9C836 #36C9C8 #C836C9
tetradic
#C9C836 #36C97F #3637C9 #C93680
square
#C9C836 #36C97F #3637C9 #C93680
split-complementary
#C9C836 #3680C9 #7F36C9
monochromatic
#69681C #999829 #C9C836 #D6D566 #E3E296

Accessibility & contrast

On white

1.78
#C9C836 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#C9C836 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C836
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C836#FFFFFF#000000##000000
##C9C8361.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C017
Deuteranopia (green-blind)
#DAC441
Tritanopia (blue-blind)
#D7BBAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c9c836;
/* rgb */ color: rgb(201, 200, 54);
/* oklch */ color: oklch(80.9% 0.159 109.1);
Tailwind
colors: {
  custom: {
    50: '#ddd878',
    500: '#c9c836',
    950: '#000000',
  },
}
SCSS
$custom: #c9c836;
$custom-light: #ddd878;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c836",
  "rgb": {
    "r": 201,
    "g": 200,
    "b": 54
  },
  "hsl": {
    "h": 59.592,
    "s": 57.647,
    "l": 50
  },
  "oklch": {
    "l": 0.80871,
    "c": 0.159,
    "h": 109.1
  },
  "luminance": 0.53992
}

Semantic roles & 50–950 ramp

primary
#C9C836
secondary
#313173
accent
#48E147
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#16140A
muted
#84837D

Preview Lab

Preview with #C9C836

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

Preview Lab → · Contrast checker → · Palette generator →

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