#CCD754#CCD754

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

Color values

HEX#CCD754
RGBrgb(204, 215, 84)
HSLhsl(65, 62%, 59%)
HSVhsv(65, 61%, 84%)
CMYKcmyk(5.1%, 0%, 60.9%, 15.7%)
CIE-LABlab(82.96, -20.75, 61.48)
CIE-LCHlch(82.96, 64.89, 108.65°)
OKLaboklab(84.59% -0.0618 0.1406)
OKLCHoklch(84.59% 0.154 113.7)
XYZxyz(50.8037, 62.0793, 17.6920)
Luminance0.6208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD754 #5F54D7
analogous
#D7A054 #CCD754 #8AD754
triadic
#CCD754 #54CCD7 #D754CC
tetradic
#CCD754 #54D7A0 #5F54D7 #D7548A
square
#CCD754 #54D7A0 #5F54D7 #D7548A
split-complementary
#CCD754 #548AD7 #A054D7
monochromatic
#868F21 #B4C12D #CCD754 #DBE386 #EAEEB7

Accessibility & contrast

On white

1.57
#CCD754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.42
#CCD754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD754
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD754#FFFFFF#000000##000000
##CCD7541.001.5713.4213.42
#FFFFFF1.571.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD44
Deuteranopia (green-blind)
#E5D05C
Tritanopia (blue-blind)
#D8CBBB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ccd754;
/* rgb */ color: rgb(204, 215, 84);
/* oklch */ color: oklch(84.6% 0.154 113.7);
Tailwind
colors: {
  custom: {
    50: '#dee38a',
    500: '#ccd754',
    950: '#000000',
  },
}
SCSS
$custom: #ccd754;
$custom-light: #dee38a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd754",
  "rgb": {
    "r": 204,
    "g": 215,
    "b": 84
  },
  "hsl": {
    "h": 65.038,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.8459,
    "c": 0.15355,
    "h": 113.7
  },
  "luminance": 0.62078
}

Semantic roles & 50–950 ramp

primary
#CCD754
secondary
#423B95
accent
#43E550
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCD754

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

Preview Lab → · Contrast checker → · Palette generator →

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