#CDD745#CDD745

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

Color values

HEX#CDD745
RGBrgb(205, 215, 69)
HSLhsl(64, 65%, 56%)
HSVhsv(64, 68%, 84%)
CMYKcmyk(4.7%, 0%, 67.9%, 15.7%)
CIE-LABlab(82.92, -21.27, 67.41)
CIE-LCHlch(82.92, 70.68, 107.51°)
OKLaboklab(84.54% -0.0648 0.1509)
OKLCHoklch(84.54% 0.164 113.2)
XYZxyz(50.5529, 62.0107, 14.9353)
Luminance0.6201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD745 #4F45D7
analogous
#D79845 #CDD745 #84D745
triadic
#CDD745 #45CDD7 #D745CD
tetradic
#CDD745 #45D798 #4F45D7 #D74584
square
#CDD745 #45D798 #4F45D7 #D74584
split-complementary
#CDD745 #4584D7 #9845D7
monochromatic
#7E851D #AEB727 #CDD745 #DBE277 #E8EDAA

Accessibility & contrast

On white

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

On black

13.40
#CDD745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD745
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD745#FFFFFF#000000##000000
##CDD7451.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD2E
Deuteranopia (green-blind)
#E7D050
Tritanopia (blue-blind)
#DACABA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cdd745;
/* rgb */ color: rgb(205, 215, 69);
/* oklch */ color: oklch(84.5% 0.164 113.2);
Tailwind
colors: {
  custom: {
    50: '#e0e381',
    500: '#cdd745',
    950: '#000000',
  },
}
SCSS
$custom: #cdd745;
$custom-light: #e0e381;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd745",
  "rgb": {
    "r": 205,
    "g": 215,
    "b": 69
  },
  "hsl": {
    "h": 64.11,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.84544,
    "c": 0.16416,
    "h": 113.2
  },
  "luminance": 0.6201
}

Semantic roles & 50–950 ramp

primary
#CDD745
secondary
#3B358C
accent
#40E84C
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CDD745

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

Preview Lab → · Contrast checker → · Palette generator →

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