#CCDF38#CCDF38

#CCDF38 is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 86.1% C 0.181 H 116.1°. Best body text is #000000 at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#CCDF38
RGBrgb(204, 223, 56)
HSLhsl(67, 72%, 55%)
HSVhsv(67, 75%, 87%)
CMYKcmyk(8.5%, 0%, 74.9%, 12.5%)
CIE-LABlab(84.94, -26.16, 73.77)
CIE-LCHlch(84.94, 78.27, 109.52°)
OKLaboklab(86.13% -0.0794 0.1622)
OKLCHoklch(86.13% 0.181 116.1)
XYZxyz(52.0047, 65.8990, 13.7208)
Luminance0.6590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCDF38 #4B38DF
analogous
#DF9E38 #CCDF38 #79DF38
triadic
#CCDF38 #38CCDF #DF38CC
tetradic
#CCDF38 #38DF9E #4B38DF #DF3879
square
#CCDF38 #38DF9E #4B38DF #DF3879
split-complementary
#CCDF38 #3879DF #9E38DF
monochromatic
#7A8716 #AABC1E #CCDF38 #DAE76D #E7F0A1

Accessibility & contrast

On white

1.48
#CCDF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.18
#CCDF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCDF38
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCDF38#FFFFFF#000000##000000
##CCDF381.001.4814.1814.18
#FFFFFF1.481.0021.0021.00
#00000014.1821.001.001.00
##00000014.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD30C
Deuteranopia (green-blind)
#EDD547
Tritanopia (blue-blind)
#D9D2C0
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ccdf38;
/* rgb */ color: rgb(204, 223, 56);
/* oklch */ color: oklch(86.1% 0.181 116.1);
Tailwind
colors: {
  custom: {
    50: '#dfe87b',
    500: '#ccdf38',
    950: '#000000',
  },
}
SCSS
$custom: #ccdf38;
$custom-light: #dfe87b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccdf38",
  "rgb": {
    "r": 204,
    "g": 223,
    "b": 56
  },
  "hsl": {
    "h": 66.826,
    "s": 72.294,
    "l": 54.706
  },
  "oklch": {
    "l": 0.86127,
    "c": 0.18057,
    "h": 116.1
  },
  "luminance": 0.65898
}

Semantic roles & 50–950 ramp

primary
#CCDF38
secondary
#392E8D
accent
#39EF4E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16160A
muted
#84847D

Preview Lab

Preview with #CCDF38

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

Preview Lab → · Contrast checker → · Palette generator →

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