#CCD758#CCD758

#CCD758 is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.6% C 0.150 H 113.8°. Best body text is #000000 at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#CCD758
RGBrgb(204, 215, 88)
HSLhsl(65, 61%, 59%)
HSVhsv(65, 59%, 84%)
CMYKcmyk(5.1%, 0%, 59.1%, 15.7%)
CIE-LABlab(82.99, -20.47, 59.82)
CIE-LCHlch(82.99, 63.22, 108.89°)
OKLaboklab(84.63% -0.0606 0.1376)
OKLCHoklch(84.63% 0.15 113.8)
XYZxyz(50.9649, 62.1437, 18.5408)
Luminance0.6214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD758 #6358D7
analogous
#D7A358 #CCD758 #8DD758
triadic
#CCD758 #58CCD7 #D758CC
tetradic
#CCD758 #58D7A3 #6358D7 #D7588D
square
#CCD758 #58D7A3 #6358D7 #D7588D
split-complementary
#CCD758 #588DD7 #A358D7
monochromatic
#889223 #B6C32F #CCD758 #DBE389 #EAEFBB

Accessibility & contrast

On white

1.56
#CCD758 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.43
#CCD758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD758
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD758#FFFFFF#000000##000000
##CCD7581.001.5613.4313.43
#FFFFFF1.561.0021.0021.00
#00000013.4321.001.001.00
##00000013.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD4A
Deuteranopia (green-blind)
#E5D060
Tritanopia (blue-blind)
#D8CBBC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ccd758;
/* rgb */ color: rgb(204, 215, 88);
/* oklch */ color: oklch(84.6% 0.150 113.8);
Tailwind
colors: {
  custom: {
    50: '#dee38c',
    500: '#ccd758',
    950: '#000000',
  },
}
SCSS
$custom: #ccd758;
$custom-light: #dee38c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd758",
  "rgb": {
    "r": 204,
    "g": 215,
    "b": 88
  },
  "hsl": {
    "h": 65.197,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.84629,
    "c": 0.15032,
    "h": 113.8
  },
  "luminance": 0.62143
}

Semantic roles & 50–950 ramp

primary
#CCD758
secondary
#443C97
accent
#43E451
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCD758

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

Preview Lab → · Contrast checker → · Palette generator →

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