#CCD54D#CCD54D

#CCD54D is a very light, vivid yellow. Relative luminance 0.610; 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#CCD54D
RGBrgb(204, 213, 77)
HSLhsl(64, 62%, 57%)
HSVhsv(64, 64%, 84%)
CMYKcmyk(4.2%, 0%, 63.8%, 16.5%)
CIE-LABlab(82.36, -20.23, 63.71)
CIE-LCHlch(82.36, 66.85, 107.62°)
OKLaboklab(84.1% -0.061 0.1443)
OKLCHoklch(84.1% 0.157 112.9)
XYZxyz(50.0370, 60.9627, 16.1509)
Luminance0.6096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD54D #564DD5
analogous
#D59A4D #CCD54D #88D54D
triadic
#CCD54D #4DCCD5 #D54DCC
tetradic
#CCD54D #4DD59A #564DD5 #D54D88
square
#CCD54D #4DD59A #564DD5 #D54D88
split-complementary
#CCD54D #4D88D5 #9A4DD5
monochromatic
#818820 #B0B92C #CCD54D #DAE17F #E8ECB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCD54D#FFFFFF#000000##000000
##CCD54D1.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)
#E4CB3B
Deuteranopia (green-blind)
#E4CE56
Tritanopia (blue-blind)
#D9C9B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ccd54d;
/* rgb */ color: rgb(204, 213, 77);
/* oklch */ color: oklch(84.1% 0.157 112.9);
Tailwind
colors: {
  custom: {
    50: '#dfe185',
    500: '#ccd54d',
    950: '#000000',
  },
}
SCSS
$custom: #ccd54d;
$custom-light: #dfe185;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd54d",
  "rgb": {
    "r": 204,
    "g": 213,
    "b": 77
  },
  "hsl": {
    "h": 63.971,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.84095,
    "c": 0.15669,
    "h": 112.9
  },
  "luminance": 0.60962
}

Semantic roles & 50–950 ramp

primary
#CCD54D
secondary
#3E388E
accent
#43E54E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD54D

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

Preview Lab → · Contrast checker → · Palette generator →

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