#CDD758#CDD758

#CDD758 is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 84.7% C 0.150 H 113.4°. Best body text is #000000 at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#CDD758
RGBrgb(205, 215, 88)
HSLhsl(65, 61%, 59%)
HSVhsv(65, 59%, 84%)
CMYKcmyk(4.7%, 0%, 59.1%, 15.7%)
CIE-LABlab(83.07, -20.07, 59.92)
CIE-LCHlch(83.07, 63.19, 108.52°)
OKLaboklab(84.71% -0.0595 0.1378)
OKLCHoklch(84.71% 0.15 113.4)
XYZxyz(51.2399, 62.2856, 18.5537)
Luminance0.6229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD758 #6258D7
analogous
#D7A158 #CDD758 #8ED758
triadic
#CDD758 #58CDD7 #D758CD
tetradic
#CDD758 #58D7A1 #6258D7 #D7588E
square
#CDD758 #58D7A1 #6258D7 #D7588E
split-complementary
#CDD758 #588ED7 #A158D7
monochromatic
#899223 #B7C32F #CDD758 #DCE389 #EBEFBB

Accessibility & contrast

On white

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

On black

13.46
#CDD758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD758
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD758#FFFFFF#000000##000000
##CDD7581.001.5613.4613.46
#FFFFFF1.561.0021.0021.00
#00000013.4621.001.001.00
##00000013.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE4A
Deuteranopia (green-blind)
#E5D060
Tritanopia (blue-blind)
#D9CBBC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cdd758;
/* rgb */ color: rgb(205, 215, 88);
/* oklch */ color: oklch(84.7% 0.150 113.4);
Tailwind
colors: {
  custom: {
    50: '#dfe38c',
    500: '#cdd758',
    950: '#000000',
  },
}
SCSS
$custom: #cdd758;
$custom-light: #dfe38c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd758",
  "rgb": {
    "r": 205,
    "g": 215,
    "b": 88
  },
  "hsl": {
    "h": 64.724,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.84708,
    "c": 0.15007,
    "h": 113.4
  },
  "luminance": 0.62285
}

Semantic roles & 50–950 ramp

primary
#CDD758
secondary
#433C97
accent
#43E450
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CDD758

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

Preview Lab → · Contrast checker → · Palette generator →

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