#CCD858#CCD858

#CCD858 is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 84.8% C 0.151 H 114.1°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#CCD858
RGBrgb(204, 216, 88)
HSLhsl(66, 62%, 60%)
HSVhsv(66, 59%, 85%)
CMYKcmyk(5.6%, 0%, 59.3%, 15.3%)
CIE-LABlab(83.26, -20.96, 60.11)
CIE-LCHlch(83.26, 63.66, 109.22°)
OKLaboklab(84.85% -0.062 0.1382)
OKLCHoklch(84.85% 0.151 114.1)
XYZxyz(51.2203, 62.6546, 18.6259)
Luminance0.6265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD858 #6458D8
analogous
#D8A458 #CCD858 #8CD858
triadic
#CCD858 #58CCD8 #D858CC
tetradic
#CCD858 #58D8A4 #6458D8 #D8588C
square
#CCD858 #58D8A4 #6458D8 #D8588C
split-complementary
#CCD858 #588CD8 #A458D8
monochromatic
#899322 #B7C52E #CCD858 #DBE48A #EAEFBB

Accessibility & contrast

On white

1.55
#CCD858 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.53
#CCD858 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD858
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD858#FFFFFF#000000##000000
##CCD8581.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE49
Deuteranopia (green-blind)
#E6D160
Tritanopia (blue-blind)
#D8CCBD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ccd858;
/* rgb */ color: rgb(204, 216, 88);
/* oklch */ color: oklch(84.8% 0.151 114.1);
Tailwind
colors: {
  custom: {
    50: '#dee38c',
    500: '#ccd858',
    950: '#000000',
  },
}
SCSS
$custom: #ccd858;
$custom-light: #dee38c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd858",
  "rgb": {
    "r": 204,
    "g": 216,
    "b": 88
  },
  "hsl": {
    "h": 65.625,
    "s": 62.136,
    "l": 59.608
  },
  "oklch": {
    "l": 0.84845,
    "c": 0.15145,
    "h": 114.1
  },
  "luminance": 0.62654
}

Semantic roles & 50–950 ramp

primary
#CCD858
secondary
#453C98
accent
#43E552
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCD858

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

Preview Lab → · Contrast checker → · Palette generator →

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