#CDD754#CDD754

#CDD754 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 84.7% C 0.153 H 113.3°. Best body text is #000000 at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#CDD754
RGBrgb(205, 215, 84)
HSLhsl(65, 62%, 59%)
HSVhsv(65, 61%, 84%)
CMYKcmyk(4.7%, 0%, 60.9%, 15.7%)
CIE-LABlab(83.03, -20.35, 61.58)
CIE-LCHlch(83.03, 64.85, 108.28°)
OKLaboklab(84.67% -0.0607 0.1408)
OKLCHoklch(84.67% 0.153 113.3)
XYZxyz(51.0788, 62.2211, 17.7049)
Luminance0.6222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD754 #5E54D7
analogous
#D79F54 #CDD754 #8BD754
triadic
#CDD754 #54CDD7 #D754CD
tetradic
#CDD754 #54D79F #5E54D7 #D7548B
square
#CDD754 #54D79F #5E54D7 #D7548B
split-complementary
#CDD754 #548BD7 #9F54D7
monochromatic
#878F21 #B5C12D #CDD754 #DCE386 #EAEEB7

Accessibility & contrast

On white

1.56
#CDD754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.44
#CDD754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD754
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD754#FFFFFF#000000##000000
##CDD7541.001.5613.4413.44
#FFFFFF1.561.0021.0021.00
#00000013.4421.001.001.00
##00000013.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD44
Deuteranopia (green-blind)
#E6D05C
Tritanopia (blue-blind)
#DACBBB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cdd754;
/* rgb */ color: rgb(205, 215, 84);
/* oklch */ color: oklch(84.7% 0.153 113.3);
Tailwind
colors: {
  custom: {
    50: '#dfe38a',
    500: '#cdd754',
    950: '#000000',
  },
}
SCSS
$custom: #cdd754;
$custom-light: #dfe38a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd754",
  "rgb": {
    "r": 205,
    "g": 215,
    "b": 84
  },
  "hsl": {
    "h": 64.58,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.84669,
    "c": 0.1533,
    "h": 113.3
  },
  "luminance": 0.6222
}

Semantic roles & 50–950 ramp

primary
#CDD754
secondary
#413B95
accent
#43E54F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDD754

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

Preview Lab → · Contrast checker → · Palette generator →

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