#CCD950#CCD950

#CCD950 is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.0% C 0.159 H 114.4°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#CCD950
RGBrgb(204, 217, 80)
HSLhsl(66, 64%, 58%)
HSVhsv(66, 63%, 85%)
CMYKcmyk(6%, 0%, 63.1%, 14.9%)
CIE-LABlab(83.47, -21.99, 63.67)
CIE-LCHlch(83.47, 67.36, 109.06°)
OKLaboklab(84.99% -0.0657 0.1447)
OKLCHoklch(84.99% 0.159 114.4)
XYZxyz(51.1639, 63.0431, 17.0612)
Luminance0.6304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD950 #5D50D9
analogous
#D9A150 #CCD950 #88D950
triadic
#CCD950 #50CCD9 #D950CC
tetradic
#CCD950 #50D9A1 #5D50D9 #D95088
square
#CCD950 #50D9A1 #5D50D9 #D95088
split-complementary
#CCD950 #5088D9 #A150D9
monochromatic
#858F1F #B3C22A #CCD950 #DBE482 #E9EFB5

Accessibility & contrast

On white

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

On black

13.61
#CCD950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD950
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD950#FFFFFF#000000##000000
##CCD9501.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF3E
Deuteranopia (green-blind)
#E7D159
Tritanopia (blue-blind)
#D9CDBD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ccd950;
/* rgb */ color: rgb(204, 217, 80);
/* oklch */ color: oklch(85.0% 0.159 114.4);
Tailwind
colors: {
  custom: {
    50: '#dee487',
    500: '#ccd950',
    950: '#000000',
  },
}
SCSS
$custom: #ccd950;
$custom-light: #dee487;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd950",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 80
  },
  "hsl": {
    "h": 65.693,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.84988,
    "c": 0.15887,
    "h": 114.4
  },
  "luminance": 0.63042
}

Semantic roles & 50–950 ramp

primary
#CCD950
secondary
#413895
accent
#40E750
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CCD950

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

Preview Lab → · Contrast checker → · Palette generator →

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