#C8CC5B#C8CC5B

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

Color values

HEX#C8CC5B
RGBrgb(200, 204, 91)
HSLhsl(62, 53%, 58%)
HSVhsv(62, 55%, 80%)
CMYKcmyk(2%, 0%, 55.4%, 20%)
CIE-LABlab(79.74, -16.44, 54.79)
CIE-LCHlch(79.74, 57.20, 106.70°)
OKLaboklab(81.97% -0.0486 0.1273)
OKLCHoklch(81.97% 0.136 110.9)
XYZxyz(47.3018, 56.2215, 18.2556)
Luminance0.5622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CC5B #5F5BCC
analogous
#CC975B #C8CC5B #8FCC5B
triadic
#C8CC5B #5BC8CC #CC5BC8
tetradic
#C8CC5B #5BCC97 #5F5BCC #CC5B8F
square
#C8CC5B #5BCC97 #5F5BCC #CC5B8F
split-complementary
#C8CC5B #5B8FCC #975BCC
monochromatic
#808429 #AEB237 #C8CC5B #D8DB8A #E7E9B8

Accessibility & contrast

On white

1.72
#C8CC5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#C8CC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CC5B
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CC5B#FFFFFF#000000##000000
##C8CC5B1.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8cc5b;
/* rgb */ color: rgb(200, 204, 91);
/* oklch */ color: oklch(82.0% 0.136 110.9);
Tailwind
colors: {
  custom: {
    50: '#dbdb8d',
    500: '#c8cc5b',
    950: '#000000',
  },
}
SCSS
$custom: #c8cc5b;
$custom-light: #dbdb8d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cc5b",
  "rgb": {
    "r": 200,
    "g": 204,
    "b": 91
  },
  "hsl": {
    "h": 62.124,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81965,
    "c": 0.13625,
    "h": 110.9
  },
  "luminance": 0.5622
}

Semantic roles & 50–950 ramp

primary
#C8CC5B
secondary
#43408B
accent
#4CDC51
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C8CC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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