#CCD55C#CCD55C

#CCD55C is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.2% C 0.145 H 113.0°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#CCD55C
RGBrgb(204, 213, 92)
HSLhsl(64, 59%, 60%)
HSVhsv(64, 57%, 84%)
CMYKcmyk(4.2%, 0%, 56.8%, 16.5%)
CIE-LABlab(82.49, -19.20, 57.52)
CIE-LCHlch(82.49, 60.64, 108.46°)
OKLaboklab(84.24% -0.0566 0.1332)
OKLCHoklch(84.24% 0.145 113)
XYZxyz(50.6290, 61.1995, 19.2688)
Luminance0.6120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD55C #655CD5
analogous
#D5A25C #CCD55C #8FD55C
triadic
#CCD55C #5CCCD5 #D55CCC
tetradic
#CCD55C #5CD5A2 #655CD5 #D55C8F
square
#CCD55C #5CD5A2 #655CD5 #D55C8F
split-complementary
#CCD55C #5C8FD5 #A25CD5
monochromatic
#899125 #B7C232 #CCD55C #DBE28D #EAEEBD

Accessibility & contrast

On white

1.59
#CCD55C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.24
#CCD55C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD55C
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD55C#FFFFFF#000000##000000
##CCD55C1.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC4F
Deuteranopia (green-blind)
#E3CF63
Tritanopia (blue-blind)
#D8CABB
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ccd55c;
/* rgb */ color: rgb(204, 213, 92);
/* oklch */ color: oklch(84.2% 0.145 113.0);
Tailwind
colors: {
  custom: {
    50: '#dee18e',
    500: '#ccd55c',
    950: '#000000',
  },
}
SCSS
$custom: #ccd55c;
$custom-light: #dee18e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd55c",
  "rgb": {
    "r": 204,
    "g": 213,
    "b": 92
  },
  "hsl": {
    "h": 64.463,
    "s": 59.024,
    "l": 59.804
  },
  "oklch": {
    "l": 0.84238,
    "c": 0.14467,
    "h": 113
  },
  "luminance": 0.61199
}

Semantic roles & 50–950 ramp

primary
#CCD55C
secondary
#453F97
accent
#46E251
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCD55C

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

Preview Lab → · Contrast checker → · Palette generator →

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