#C8CC5E#C8CC5E

#C8CC5E 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#C8CC5E
RGBrgb(200, 204, 94)
HSLhsl(62, 52%, 58%)
HSVhsv(62, 54%, 80%)
CMYKcmyk(2%, 0%, 53.9%, 20%)
CIE-LABlab(79.77, -16.20, 53.45)
CIE-LCHlch(79.77, 55.86, 106.86°)
OKLaboklab(82% -0.0476 0.1247)
OKLCHoklch(82% 0.134 110.9)
XYZxyz(47.4338, 56.2743, 18.9508)
Luminance0.5627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CC5E #625ECC
analogous
#CC995E #C8CC5E #91CC5E
triadic
#C8CC5E #5EC8CC #CC5EC8
tetradic
#C8CC5E #5ECC99 #625ECC #CC5E91
square
#C8CC5E #5ECC99 #625ECC #CC5E91
split-complementary
#C8CC5E #5E91CC #995ECC
monochromatic
#82852A #AFB439 #C8CC5E #D8DB8C #E8E9BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8CC5E#FFFFFF#000000##000000
##C8CC5E1.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)
#DAC453
Deuteranopia (green-blind)
#DBC764
Tritanopia (blue-blind)
#D4C1B4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c8cc5e;
/* rgb */ color: rgb(200, 204, 94);
/* oklch */ color: oklch(82.0% 0.134 110.9);
Tailwind
colors: {
  custom: {
    50: '#dbdb8f',
    500: '#c8cc5e',
    950: '#000000',
  },
}
SCSS
$custom: #c8cc5e;
$custom-light: #dbdb8f;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cc5e",
  "rgb": {
    "r": 200,
    "g": 204,
    "b": 94
  },
  "hsl": {
    "h": 62.182,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81998,
    "c": 0.13353,
    "h": 110.9
  },
  "luminance": 0.56273
}

Semantic roles & 50–950 ramp

primary
#C8CC5E
secondary
#44428D
accent
#4CDB52
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C8CC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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