#CDDF5F#CDDF5F

#CDDF5F is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 86.5% C 0.153 H 116.4°. Best body text is #000000 at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#CDDF5F
RGBrgb(205, 223, 95)
HSLhsl(68, 67%, 62%)
HSVhsv(68, 57%, 87%)
CMYKcmyk(8.1%, 0%, 57.4%, 12.5%)
CIE-LABlab(85.29, -23.43, 59.36)
CIE-LCHlch(85.29, 63.82, 111.54°)
OKLaboklab(86.51% -0.0683 0.1374)
OKLCHoklch(86.51% 0.153 116.4)
XYZxyz(53.6310, 66.5813, 20.8505)
Luminance0.6658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDDF5F #715FDF
analogous
#DFB15F #CDDF5F #8DDF5F
triadic
#CDDF5F #5FCDDF #DF5FCD
tetradic
#CDDF5F #5FDFB1 #715FDF #DF5F8D
square
#CDDF5F #5FDFB1 #715FDF #DF5F8D
split-complementary
#CDDF5F #5F8DDF #B15FDF
monochromatic
#91A321 #BDD52C #CDDF5F #DDE992 #EDF3C5

Accessibility & contrast

On white

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

On black

14.32
#CDDF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDDF5F
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDDF5F#FFFFFF#000000##000000
##CDDF5F1.001.4714.3214.32
#FFFFFF1.471.0021.0021.00
#00000014.3221.001.001.00
##00000014.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cddf5f;
/* rgb */ color: rgb(205, 223, 95);
/* oklch */ color: oklch(86.5% 0.153 116.4);
Tailwind
colors: {
  custom: {
    50: '#dfe891',
    500: '#cddf5f',
    950: '#000000',
  },
}
SCSS
$custom: #cddf5f;
$custom-light: #dfe891;
$custom-dark: #000000;
JSON
{
  "hex": "#cddf5f",
  "rgb": {
    "r": 205,
    "g": 223,
    "b": 95
  },
  "hsl": {
    "h": 68.438,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.86511,
    "c": 0.15344,
    "h": 116.4
  },
  "luminance": 0.66581
}

Semantic roles & 50–950 ramp

primary
#CDDF5F
secondary
#4B3CA6
accent
#17CF31
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160D
muted
#84847F

Preview Lab

Preview with #CDDF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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