#CCC857#CCC857

#CCC857 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.4% C 0.135 H 107.2°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#CCC857
RGBrgb(204, 200, 87)
HSLhsl(58, 53%, 57%)
HSVhsv(58, 57%, 80%)
CMYKcmyk(0%, 2%, 57.4%, 20%)
CIE-LABlab(78.95, -13.09, 55.78)
CIE-LCHlch(78.95, 57.29, 103.20°)
OKLaboklab(81.4% -0.0398 0.1288)
OKLCHoklch(81.4% 0.135 107.2)
XYZxyz(47.2778, 54.8354, 17.1088)
Luminance0.5483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC857 #575BCC
analogous
#CC8E57 #CCC857 #95CC57
triadic
#CCC857 #57CCC8 #C857CC
tetradic
#CCC857 #57CC8E #575BCC #CC5795
square
#CCC857 #57CC8E #575BCC #CC5795
split-complementary
#CCC857 #5795CC #8E57CC
monochromatic
#817E27 #B0AC36 #CCC857 #DAD786 #E9E7B5

Accessibility & contrast

On white

1.75
#CCC857 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#CCC857 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC857
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC857#FFFFFF#000000##000000
##CCC8571.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14B
Deuteranopia (green-blind)
#D9C65D
Tritanopia (blue-blind)
#D9BCAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc857;
/* rgb */ color: rgb(204, 200, 87);
/* oklch */ color: oklch(81.4% 0.135 107.2);
Tailwind
colors: {
  custom: {
    50: '#ded88a',
    500: '#ccc857',
    950: '#000000',
  },
}
SCSS
$custom: #ccc857;
$custom-light: #ded88a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc857",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 87
  },
  "hsl": {
    "h": 57.949,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81398,
    "c": 0.13484,
    "h": 107.2
  },
  "luminance": 0.54834
}

Semantic roles & 50–950 ramp

primary
#CCC857
secondary
#3E4189
accent
#50DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC857

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

Preview Lab → · Contrast checker → · Palette generator →

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