#C8CC5F#C8CC5F

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

Color values

HEX#C8CC5F
RGBrgb(200, 204, 95)
HSLhsl(62, 52%, 59%)
HSVhsv(62, 53%, 80%)
CMYKcmyk(2%, 0%, 53.4%, 20%)
CIE-LABlab(79.78, -16.12, 53.01)
CIE-LCHlch(79.78, 55.40, 106.91°)
OKLaboklab(82.01% -0.0473 0.1239)
OKLCHoklch(82.01% 0.133 110.9)
XYZxyz(47.4789, 56.2924, 19.1887)
Luminance0.5629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CC5F #635FCC
analogous
#CC995F #C8CC5F #91CC5F
triadic
#C8CC5F #5FC8CC #CC5FC8
tetradic
#C8CC5F #5FCC99 #635FCC #CC5F91
square
#C8CC5F #5FCC99 #635FCC #CC5F91
split-complementary
#C8CC5F #5F91CC #995FCC
monochromatic
#83862B #B0B439 #C8CC5F #D8DB8D #E8EABC

Accessibility & contrast

On white

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

On black

12.26
#C8CC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CC5F
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CC5F#FFFFFF#000000##000000
##C8CC5F1.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC454
Deuteranopia (green-blind)
#DBC765
Tritanopia (blue-blind)
#D4C1B4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c8cc5f;
/* rgb */ color: rgb(200, 204, 95);
/* oklch */ color: oklch(82.0% 0.133 110.9);
Tailwind
colors: {
  custom: {
    50: '#dbdb90',
    500: '#c8cc5f',
    950: '#000000',
  },
}
SCSS
$custom: #c8cc5f;
$custom-light: #dbdb90;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cc5f",
  "rgb": {
    "r": 200,
    "g": 204,
    "b": 95
  },
  "hsl": {
    "h": 62.202,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.8201,
    "c": 0.13261,
    "h": 110.9
  },
  "luminance": 0.56291
}

Semantic roles & 50–950 ramp

primary
#C8CC5F
secondary
#45428D
accent
#4DDB52
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C8CC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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