#C9C856#C9C856

#C9C856 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.1% C 0.136 H 108.6°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#C9C856
RGBrgb(201, 200, 86)
HSLhsl(59, 52%, 56%)
HSVhsv(59, 57%, 79%)
CMYKcmyk(0%, 0.5%, 57.2%, 21.2%)
CIE-LABlab(78.69, -14.40, 55.87)
CIE-LCHlch(78.69, 57.70, 104.45°)
OKLaboklab(81.14% -0.0434 0.129)
OKLCHoklch(81.14% 0.136 108.6)
XYZxyz(46.4227, 54.3992, 16.8570)
Luminance0.5440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C856 #5657C9
analogous
#C98F56 #C9C856 #91C956
triadic
#C9C856 #56C9C8 #C856C9
tetradic
#C9C856 #56C98F #5657C9 #C95691
square
#C9C856 #56C98F #5657C9 #C95691
split-complementary
#C9C856 #5691C9 #8F56C9
monochromatic
#7D7C28 #ABAA37 #C9C856 #D8D784 #E7E6B3

Accessibility & contrast

On white

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

On black

11.88
#C9C856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C856
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C856#FFFFFF#000000##000000
##C9C8561.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14A
Deuteranopia (green-blind)
#D9C55C
Tritanopia (blue-blind)
#D6BCAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c9c856;
/* rgb */ color: rgb(201, 200, 86);
/* oklch */ color: oklch(81.1% 0.136 108.6);
Tailwind
colors: {
  custom: {
    50: '#dcd88a',
    500: '#c9c856',
    950: '#000000',
  },
}
SCSS
$custom: #c9c856;
$custom-light: #dcd88a;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c856",
  "rgb": {
    "r": 201,
    "g": 200,
    "b": 86
  },
  "hsl": {
    "h": 59.478,
    "s": 51.57,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81135,
    "c": 0.13611,
    "h": 108.6
  },
  "luminance": 0.54398
}

Semantic roles & 50–950 ramp

primary
#C9C856
secondary
#3E3F85
accent
#4EDB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C9C856

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

Preview Lab → · Contrast checker → · Palette generator →

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