#CCD54C#CCD54C

#CCD54C is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.1% C 0.157 H 112.9°. Best body text is #000000 at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#CCD54C
RGBrgb(204, 213, 76)
HSLhsl(64, 62%, 57%)
HSVhsv(64, 64%, 84%)
CMYKcmyk(4.2%, 0%, 64.3%, 16.5%)
CIE-LABlab(82.35, -20.29, 64.11)
CIE-LCHlch(82.35, 67.24, 107.57°)
OKLaboklab(84.09% -0.0613 0.145)
OKLCHoklch(84.09% 0.157 112.9)
XYZxyz(50.0020, 60.9487, 15.9663)
Luminance0.6095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD54C #554CD5
analogous
#D59A4C #CCD54C #88D54C
triadic
#CCD54C #4CCCD5 #D54CCC
tetradic
#CCD54C #4CD59A #554CD5 #D54C88
square
#CCD54C #4CD59A #554CD5 #D54C88
split-complementary
#CCD54C #4C88D5 #9A4CD5
monochromatic
#808720 #AFB92B #CCD54C #DAE17E #E8ECAF

Accessibility & contrast

On white

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

On black

13.19
#CCD54C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD54C
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD54C#FFFFFF#000000##000000
##CCD54C1.001.5913.1913.19
#FFFFFF1.591.0021.0021.00
#00000013.1921.001.001.00
##00000013.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB3A
Deuteranopia (green-blind)
#E4CE55
Tritanopia (blue-blind)
#D9C9B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ccd54c;
/* rgb */ color: rgb(204, 213, 76);
/* oklch */ color: oklch(84.1% 0.157 112.9);
Tailwind
colors: {
  custom: {
    50: '#dfe185',
    500: '#ccd54c',
    950: '#000000',
  },
}
SCSS
$custom: #ccd54c;
$custom-light: #dfe185;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd54c",
  "rgb": {
    "r": 204,
    "g": 213,
    "b": 76
  },
  "hsl": {
    "h": 63.942,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.84087,
    "c": 0.15743,
    "h": 112.9
  },
  "luminance": 0.60948
}

Semantic roles & 50–950 ramp

primary
#CCD54C
secondary
#3D388D
accent
#43E54D
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD54C

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

Preview Lab → · Contrast checker → · Palette generator →

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