#C9C756#C9C756

#C9C756 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 80.9% C 0.135 H 108.1°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#C9C756
RGBrgb(201, 199, 86)
HSLhsl(59, 52%, 56%)
HSVhsv(59, 57%, 79%)
CMYKcmyk(0%, 1%, 57.2%, 21.2%)
CIE-LABlab(78.43, -13.90, 55.57)
CIE-LCHlch(78.43, 57.29, 104.04°)
OKLaboklab(80.92% -0.042 0.1284)
OKLCHoklch(80.92% 0.135 108.1)
XYZxyz(46.1919, 53.9375, 16.7800)
Luminance0.5394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C756 #5658C9
analogous
#C98E56 #C9C756 #92C956
triadic
#C9C756 #56C9C7 #C756C9
tetradic
#C9C756 #56C98E #5658C9 #C95692
square
#C9C756 #56C98E #5658C9 #C95692
split-complementary
#C9C756 #5692C9 #8E56C9
monochromatic
#7D7B28 #ABA937 #C9C756 #D8D684 #E7E6B3

Accessibility & contrast

On white

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

On black

11.79
#C9C756 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C756
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C756#FFFFFF#000000##000000
##C9C7561.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04A
Deuteranopia (green-blind)
#D8C45C
Tritanopia (blue-blind)
#D6BBAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c9c756;
/* rgb */ color: rgb(201, 199, 86);
/* oklch */ color: oklch(80.9% 0.135 108.1);
Tailwind
colors: {
  custom: {
    50: '#dcd78a',
    500: '#c9c756',
    950: '#000000',
  },
}
SCSS
$custom: #c9c756;
$custom-light: #dcd78a;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c756",
  "rgb": {
    "r": 201,
    "g": 199,
    "b": 86
  },
  "hsl": {
    "h": 58.957,
    "s": 51.57,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80921,
    "c": 0.13505,
    "h": 108.1
  },
  "luminance": 0.53936
}

Semantic roles & 50–950 ramp

primary
#C9C756
secondary
#3E4085
accent
#4FDB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C9C756

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

Preview Lab → · Contrast checker → · Palette generator →

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