#CCDF5D#CCDF5D

#CCDF5D is a very light, vivid yellow. Relative luminance 0.664; OKLCH L 86.4% C 0.155 H 116.7°. Best body text is #000000 at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#CCDF5D
RGBrgb(204, 223, 93)
HSLhsl(69, 67%, 62%)
HSVhsv(69, 58%, 87%)
CMYKcmyk(8.5%, 0%, 58.3%, 12.5%)
CIE-LABlab(85.20, -23.98, 60.11)
CIE-LCHlch(85.20, 64.72, 111.75°)
OKLaboklab(86.42% -0.07 0.1388)
OKLCHoklch(86.42% 0.155 116.7)
XYZxyz(53.2663, 66.4036, 20.3649)
Luminance0.6640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCDF5D #705DDF
analogous
#DFB15D #CCDF5D #8BDF5D
triadic
#CCDF5D #5DCCDF #DF5DCC
tetradic
#CCDF5D #5DDFB1 #705DDF #DF5D8B
square
#CCDF5D #5DDFB1 #705DDF #DF5D8B
split-complementary
#CCDF5D #5D8BDF #B15DDF
monochromatic
#8FA220 #BCD52A #CCDF5D #DCE990 #ECF3C3

Accessibility & contrast

On white

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

On black

14.28
#CCDF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCDF5D
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCDF5D#FFFFFF#000000##000000
##CCDF5D1.001.4714.2814.28
#FFFFFF1.471.0021.0021.00
#00000014.2821.001.001.00
##00000014.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD44F
Deuteranopia (green-blind)
#EBD665
Tritanopia (blue-blind)
#D7D4C3
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ccdf5d;
/* rgb */ color: rgb(204, 223, 93);
/* oklch */ color: oklch(86.4% 0.155 116.7);
Tailwind
colors: {
  custom: {
    50: '#dee890',
    500: '#ccdf5d',
    950: '#000000',
  },
}
SCSS
$custom: #ccdf5d;
$custom-light: #dee890;
$custom-dark: #000000;
JSON
{
  "hex": "#ccdf5d",
  "rgb": {
    "r": 204,
    "g": 223,
    "b": 93
  },
  "hsl": {
    "h": 68.769,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.86415,
    "c": 0.15543,
    "h": 116.7
  },
  "luminance": 0.66403
}

Semantic roles & 50–950 ramp

primary
#CCDF5D
secondary
#4B3CA5
accent
#17CF32
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160D
muted
#84847F

Preview Lab

Preview with #CCDF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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