#CDD740#CDD740

#CDD740 is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 84.5% C 0.167 H 113.2°. Best body text is #000000 at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#CDD740
RGBrgb(205, 215, 64)
HSLhsl(64, 65%, 55%)
HSVhsv(64, 70%, 84%)
CMYKcmyk(4.7%, 0%, 70.2%, 15.7%)
CIE-LABlab(82.89, -21.53, 69.19)
CIE-LCHlch(82.89, 72.46, 107.28°)
OKLaboklab(84.51% -0.066 0.1538)
OKLCHoklch(84.51% 0.167 113.2)
XYZxyz(50.4042, 61.9513, 14.1521)
Luminance0.6195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD740 #4A40D7
analogous
#D79640 #CDD740 #81D740
triadic
#CDD740 #40CDD7 #D740CD
tetradic
#CDD740 #40D796 #4A40D7 #D74081
square
#CDD740 #40D796 #4A40D7 #D74081
split-complementary
#CDD740 #4081D7 #9640D7
monochromatic
#7B811B #ABB426 #CDD740 #DAE273 #E7ECA5

Accessibility & contrast

On white

1.57
#CDD740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.39
#CDD740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD740
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD740#FFFFFF#000000##000000
##CDD7401.001.5713.3913.39
#FFFFFF1.571.0021.0021.00
#00000013.3921.001.001.00
##00000013.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD25
Deuteranopia (green-blind)
#E7D04C
Tritanopia (blue-blind)
#DBCABA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cdd740;
/* rgb */ color: rgb(205, 215, 64);
/* oklch */ color: oklch(84.5% 0.167 113.2);
Tailwind
colors: {
  custom: {
    50: '#e0e37e',
    500: '#cdd740',
    950: '#000000',
  },
}
SCSS
$custom: #cdd740;
$custom-light: #e0e37e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd740",
  "rgb": {
    "r": 205,
    "g": 215,
    "b": 64
  },
  "hsl": {
    "h": 63.974,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.84509,
    "c": 0.16734,
    "h": 113.2
  },
  "luminance": 0.6195
}

Semantic roles & 50–950 ramp

primary
#CDD740
secondary
#383388
accent
#3FE84B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDD740

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

Preview Lab → · Contrast checker → · Palette generator →

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