#CCC757#CCC757

#CCC757 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.2% C 0.134 H 106.7°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#CCC757
RGBrgb(204, 199, 87)
HSLhsl(57, 53%, 57%)
HSVhsv(57, 57%, 80%)
CMYKcmyk(0%, 2.5%, 57.4%, 20%)
CIE-LABlab(78.68, -12.58, 55.48)
CIE-LCHlch(78.68, 56.89, 102.78°)
OKLaboklab(81.19% -0.0383 0.1282)
OKLCHoklch(81.19% 0.134 106.7)
XYZxyz(47.0470, 54.3738, 17.0319)
Luminance0.5437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC757 #575CCC
analogous
#CC8D57 #CCC757 #97CC57
triadic
#CCC757 #57CCC7 #C757CC
tetradic
#CCC757 #57CC8D #575CCC #CC5797
square
#CCC757 #57CC8D #575CCC #CC5797
split-complementary
#CCC757 #5797CC #8D57CC
monochromatic
#817D27 #B0AB36 #CCC757 #DAD786 #E9E6B5

Accessibility & contrast

On white

1.77
#CCC757 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#CCC757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC757
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC757#FFFFFF#000000##000000
##CCC7571.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04B
Deuteranopia (green-blind)
#D9C55D
Tritanopia (blue-blind)
#D9BBAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc757;
/* rgb */ color: rgb(204, 199, 87);
/* oklch */ color: oklch(81.2% 0.134 106.7);
Tailwind
colors: {
  custom: {
    50: '#ded78a',
    500: '#ccc757',
    950: '#000000',
  },
}
SCSS
$custom: #ccc757;
$custom-light: #ded78a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc757",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 87
  },
  "hsl": {
    "h": 57.436,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81185,
    "c": 0.13381,
    "h": 106.7
  },
  "luminance": 0.54372
}

Semantic roles & 50–950 ramp

primary
#CCC757
secondary
#3E4289
accent
#51DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC757

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

Preview Lab → · Contrast checker → · Palette generator →

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