#CDDF54#CDDF54

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

Color values

HEX#CDDF54
RGBrgb(205, 223, 84)
HSLhsl(68, 68%, 60%)
HSVhsv(68, 62%, 87%)
CMYKcmyk(8.1%, 0%, 62.3%, 12.5%)
CIE-LABlab(85.20, -24.22, 63.90)
CIE-LCHlch(85.20, 68.34, 110.76°)
OKLaboklab(86.41% -0.0716 0.1457)
OKLCHoklch(86.41% 0.162 116.2)
XYZxyz(53.1659, 66.3953, 18.4006)
Luminance0.6640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDDF54 #6654DF
analogous
#DFAC54 #CDDF54 #87DF54
triadic
#CDDF54 #54CDDF #DF54CD
tetradic
#CDDF54 #54DFAC #6654DF #DF5487
square
#CDDF54 #54DFAC #6654DF #DF5487
split-complementary
#CDDF54 #5487DF #AC54DF
monochromatic
#8B9C1D #B9CF27 #CDDF54 #DCE988 #EBF2BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDDF54#FFFFFF#000000##000000
##CDDF541.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)
#EED443
Deuteranopia (green-blind)
#ECD65D
Tritanopia (blue-blind)
#D9D3C2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #cddf54;
/* rgb */ color: rgb(205, 223, 84);
/* oklch */ color: oklch(86.4% 0.162 116.2);
Tailwind
colors: {
  custom: {
    50: '#dfe88a',
    500: '#cddf54',
    950: '#000000',
  },
}
SCSS
$custom: #cddf54;
$custom-light: #dfe88a;
$custom-dark: #000000;
JSON
{
  "hex": "#cddf54",
  "rgb": {
    "r": 205,
    "g": 223,
    "b": 84
  },
  "hsl": {
    "h": 67.77,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.86405,
    "c": 0.16232,
    "h": 116.2
  },
  "luminance": 0.66395
}

Semantic roles & 50–950 ramp

primary
#CDDF54
secondary
#45389F
accent
#15D02D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CDDF54

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

Preview Lab → · Contrast checker → · Palette generator →

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