#CCDF5F#CCDF5F

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

Color values

HEX#CCDF5F
RGBrgb(204, 223, 95)
HSLhsl(69, 67%, 62%)
HSVhsv(69, 57%, 87%)
CMYKcmyk(8.5%, 0%, 57.4%, 12.5%)
CIE-LABlab(85.22, -23.83, 59.26)
CIE-LCHlch(85.22, 63.87, 111.91°)
OKLaboklab(86.44% -0.0693 0.1372)
OKLCHoklch(86.44% 0.154 116.8)
XYZxyz(53.3560, 66.4395, 20.8376)
Luminance0.6644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCDF5F #725FDF
analogous
#DFB25F #CCDF5F #8CDF5F
triadic
#CCDF5F #5FCCDF #DF5FCC
tetradic
#CCDF5F #5FDFB2 #725FDF #DF5F8C
square
#CCDF5F #5FDFB2 #725FDF #DF5F8C
split-complementary
#CCDF5F #5F8CDF #B25FDF
monochromatic
#90A321 #BCD52C #CCDF5F #DCE992 #EDF3C5

Accessibility & contrast

On white

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

On black

14.29
#CCDF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCDF5F
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCDF5F#FFFFFF#000000##000000
##CCDF5F1.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccdf5f;
/* rgb */ color: rgb(204, 223, 95);
/* oklch */ color: oklch(86.4% 0.154 116.8);
Tailwind
colors: {
  custom: {
    50: '#dee891',
    500: '#ccdf5f',
    950: '#000000',
  },
}
SCSS
$custom: #ccdf5f;
$custom-light: #dee891;
$custom-dark: #000000;
JSON
{
  "hex": "#ccdf5f",
  "rgb": {
    "r": 204,
    "g": 223,
    "b": 95
  },
  "hsl": {
    "h": 68.906,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.86436,
    "c": 0.15375,
    "h": 116.8
  },
  "luminance": 0.66439
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCDF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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