#C8CC57#C8CC57

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

Color values

HEX#C8CC57
RGBrgb(200, 204, 87)
HSLhsl(62, 53%, 57%)
HSVhsv(62, 57%, 80%)
CMYKcmyk(2%, 0%, 57.4%, 20%)
CIE-LABlab(79.70, -16.74, 56.53)
CIE-LCHlch(79.70, 58.96, 106.50°)
OKLaboklab(81.92% -0.0499 0.1305)
OKLCHoklch(81.92% 0.14 110.9)
XYZxyz(47.1338, 56.1543, 17.3709)
Luminance0.5615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CC57 #5B57CC
analogous
#CC9557 #C8CC57 #8ECC57
triadic
#C8CC57 #57C8CC #CC57C8
tetradic
#C8CC57 #57CC95 #5B57CC #CC578E
square
#C8CC57 #57CC95 #5B57CC #CC578E
split-complementary
#C8CC57 #578ECC #9557CC
monochromatic
#7E8127 #ACB036 #C8CC57 #D7DA86 #E7E9B5

Accessibility & contrast

On white

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

On black

12.23
#C8CC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CC57
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CC57#FFFFFF#000000##000000
##C8CC571.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8cc57;
/* rgb */ color: rgb(200, 204, 87);
/* oklch */ color: oklch(81.9% 0.140 110.9);
Tailwind
colors: {
  custom: {
    50: '#dbdb8b',
    500: '#c8cc57',
    950: '#000000',
  },
}
SCSS
$custom: #c8cc57;
$custom-light: #dbdb8b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cc57",
  "rgb": {
    "r": 200,
    "g": 204,
    "b": 87
  },
  "hsl": {
    "h": 62.051,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81922,
    "c": 0.13975,
    "h": 110.9
  },
  "luminance": 0.56153
}

Semantic roles & 50–950 ramp

primary
#C8CC57
secondary
#413E89
accent
#4BDD50
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C8CC57

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

Preview Lab → · Contrast checker → · Palette generator →

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