#C8CC5D#C8CC5D

#C8CC5D is a light, vivid yellow. Relative luminance 0.563; OKLCH L 82.0% C 0.134 H 110.9°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#C8CC5D
RGBrgb(200, 204, 93)
HSLhsl(62, 52%, 58%)
HSVhsv(62, 54%, 80%)
CMYKcmyk(2%, 0%, 54.4%, 20%)
CIE-LABlab(79.76, -16.28, 53.90)
CIE-LCHlch(79.76, 56.31, 106.81°)
OKLaboklab(81.99% -0.048 0.1256)
OKLCHoklch(81.99% 0.134 110.9)
XYZxyz(47.3892, 56.2565, 18.7160)
Luminance0.5625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CC5D #615DCC
analogous
#CC985D #C8CC5D #90CC5D
triadic
#C8CC5D #5DC8CC #CC5DC8
tetradic
#C8CC5D #5DCC98 #615DCC #CC5D90
square
#C8CC5D #5DCC98 #615DCC #CC5D90
split-complementary
#C8CC5D #5D90CC #985DCC
monochromatic
#82852A #AFB338 #C8CC5D #D8DB8C #E8E9BA

Accessibility & contrast

On white

1.71
#C8CC5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#C8CC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CC5D
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CC5D#FFFFFF#000000##000000
##C8CC5D1.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC452
Deuteranopia (green-blind)
#DBC763
Tritanopia (blue-blind)
#D4C1B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c8cc5d;
/* rgb */ color: rgb(200, 204, 93);
/* oklch */ color: oklch(82.0% 0.134 110.9);
Tailwind
colors: {
  custom: {
    50: '#dbdb8e',
    500: '#c8cc5d',
    950: '#000000',
  },
}
SCSS
$custom: #c8cc5d;
$custom-light: #dbdb8e;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cc5d",
  "rgb": {
    "r": 200,
    "g": 204,
    "b": 93
  },
  "hsl": {
    "h": 62.162,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81987,
    "c": 0.13444,
    "h": 110.9
  },
  "luminance": 0.56255
}

Semantic roles & 50–950 ramp

primary
#C8CC5D
secondary
#44418C
accent
#4CDC51
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C8CC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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