#CCD958#CCD958

#CCD958 is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.1% C 0.153 H 114.5°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#CCD958
RGBrgb(204, 217, 88)
HSLhsl(66, 63%, 60%)
HSVhsv(66, 59%, 85%)
CMYKcmyk(6%, 0%, 59.4%, 14.9%)
CIE-LABlab(83.53, -21.45, 60.41)
CIE-LCHlch(83.53, 64.11, 109.55°)
OKLaboklab(85.06% -0.0633 0.1388)
OKLCHoklch(85.06% 0.153 114.5)
XYZxyz(51.4773, 63.1685, 18.7116)
Luminance0.6317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD958 #6558D9
analogous
#D9A658 #CCD958 #8BD958
triadic
#CCD958 #58CCD9 #D958CC
tetradic
#CCD958 #58D9A6 #6558D9 #D9588B
square
#CCD958 #58D9A6 #6558D9 #D9588B
split-complementary
#CCD958 #588BD9 #A658D9
monochromatic
#899522 #B7C72D #CCD958 #DBE48A #EAF0BC

Accessibility & contrast

On white

1.54
#CCD958 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.63
#CCD958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD958
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD958#FFFFFF#000000##000000
##CCD9581.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF49
Deuteranopia (green-blind)
#E7D160
Tritanopia (blue-blind)
#D8CDBE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ccd958;
/* rgb */ color: rgb(204, 217, 88);
/* oklch */ color: oklch(85.1% 0.153 114.5);
Tailwind
colors: {
  custom: {
    50: '#dee48c',
    500: '#ccd958',
    950: '#000000',
  },
}
SCSS
$custom: #ccd958;
$custom-light: #dee48c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd958",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 88
  },
  "hsl": {
    "h": 66.047,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.85062,
    "c": 0.15259,
    "h": 114.5
  },
  "luminance": 0.63168
}

Semantic roles & 50–950 ramp

primary
#CCD958
secondary
#453C9A
accent
#42E652
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCD958

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

Preview Lab → · Contrast checker → · Palette generator →

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