#CCDF51#CCDF51

#CCDF51 is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 86.3% C 0.165 H 116.5°. Best body text is #000000 at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#CCDF51
RGBrgb(204, 223, 81)
HSLhsl(68, 69%, 60%)
HSVhsv(68, 64%, 87%)
CMYKcmyk(8.5%, 0%, 63.7%, 12.5%)
CIE-LABlab(85.10, -24.82, 64.99)
CIE-LCHlch(85.10, 69.57, 110.90°)
OKLaboklab(86.3% -0.0735 0.1476)
OKLCHoklch(86.3% 0.165 116.5)
XYZxyz(52.7758, 66.2075, 17.7821)
Luminance0.6621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCDF51 #6451DF
analogous
#DFAB51 #CCDF51 #85DF51
triadic
#CCDF51 #51CCDF #DF51CC
tetradic
#CCDF51 #51DFAB #6451DF #DF5185
square
#CCDF51 #51DFAB #6451DF #DF5185
split-complementary
#CCDF51 #5185DF #AB51DF
monochromatic
#89991C #B7CD26 #CCDF51 #DBE985 #EAF2B8

Accessibility & contrast

On white

1.47
#CCDF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.24
#CCDF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCDF51
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCDF51#FFFFFF#000000##000000
##CCDF511.001.4714.2414.24
#FFFFFF1.471.0021.0021.00
#00000014.2421.001.001.00
##00000014.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED43E
Deuteranopia (green-blind)
#ECD65B
Tritanopia (blue-blind)
#D8D3C2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ccdf51;
/* rgb */ color: rgb(204, 223, 81);
/* oklch */ color: oklch(86.3% 0.165 116.5);
Tailwind
colors: {
  custom: {
    50: '#dfe888',
    500: '#ccdf51',
    950: '#000000',
  },
}
SCSS
$custom: #ccdf51;
$custom-light: #dfe888;
$custom-dark: #000000;
JSON
{
  "hex": "#ccdf51",
  "rgb": {
    "r": 204,
    "g": 223,
    "b": 81
  },
  "hsl": {
    "h": 68.028,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.86303,
    "c": 0.16487,
    "h": 116.5
  },
  "luminance": 0.66207
}

Semantic roles & 50–950 ramp

primary
#CCDF51
secondary
#45379D
accent
#3CEC54
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CCDF51

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

Preview Lab → · Contrast checker → · Palette generator →

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