#CCC858#CCC858

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

Color values

HEX#CCC858
RGBrgb(204, 200, 88)
HSLhsl(58, 53%, 57%)
HSVhsv(58, 57%, 80%)
CMYKcmyk(0%, 2%, 56.9%, 20%)
CIE-LABlab(78.96, -13.01, 55.34)
CIE-LCHlch(78.96, 56.85, 103.23°)
OKLaboklab(81.41% -0.0395 0.128)
OKLCHoklch(81.41% 0.134 107.1)
XYZxyz(47.3190, 54.8519, 17.3255)
Luminance0.5485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC858 #585CCC
analogous
#CC8E58 #CCC858 #96CC58
triadic
#CCC858 #58CCC8 #C858CC
tetradic
#CCC858 #58CC8E #585CCC #CC5896
square
#CCC858 #58CC8E #585CCC #CC5896
split-complementary
#CCC858 #5896CC #8E58CC
monochromatic
#827F28 #B1AD36 #CCC858 #DAD787 #E9E7B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC858#FFFFFF#000000##000000
##CCC8581.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)
#D7C14C
Deuteranopia (green-blind)
#D9C65E
Tritanopia (blue-blind)
#D9BCB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc858;
/* rgb */ color: rgb(204, 200, 88);
/* oklch */ color: oklch(81.4% 0.134 107.1);
Tailwind
colors: {
  custom: {
    50: '#ded88b',
    500: '#ccc858',
    950: '#000000',
  },
}
SCSS
$custom: #ccc858;
$custom-light: #ded88b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc858",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 88
  },
  "hsl": {
    "h": 57.931,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81409,
    "c": 0.13398,
    "h": 107.1
  },
  "luminance": 0.54851
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCC858

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

Preview Lab → · Contrast checker → · Palette generator →

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