#CDD057#CDD057

#CDD057 is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.2% C 0.143 H 110.5°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#CDD057
RGBrgb(205, 208, 87)
HSLhsl(61, 56%, 58%)
HSVhsv(61, 58%, 82%)
CMYKcmyk(1.4%, 0%, 58.2%, 18.4%)
CIE-LABlab(81.17, -16.69, 58.27)
CIE-LCHlch(81.17, 60.61, 105.98°)
OKLaboklab(83.19% -0.0501 0.1341)
OKLCHoklch(83.19% 0.143 110.5)
XYZxyz(49.4544, 58.7802, 17.7556)
Luminance0.5878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD057 #5A57D0
analogous
#D09757 #CDD057 #90D057
triadic
#CDD057 #57CDD0 #D057CD
tetradic
#CDD057 #57D097 #5A57D0 #D05790
square
#CDD057 #57D097 #5A57D0 #D05790
split-complementary
#CDD057 #5790D0 #9757D0
monochromatic
#848726 #B3B733 #CDD057 #DBDD87 #E9EBB7

Accessibility & contrast

On white

1.65
#CDD057 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.76
#CDD057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD057
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD057#FFFFFF#000000##000000
##CDD0571.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC849
Deuteranopia (green-blind)
#E0CB5E
Tritanopia (blue-blind)
#DAC4B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdd057;
/* rgb */ color: rgb(205, 208, 87);
/* oklch */ color: oklch(83.2% 0.143 110.5);
Tailwind
colors: {
  custom: {
    50: '#dfde8b',
    500: '#cdd057',
    950: '#000000',
  },
}
SCSS
$custom: #cdd057;
$custom-light: #dfde8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd057",
  "rgb": {
    "r": 205,
    "g": 208,
    "b": 87
  },
  "hsl": {
    "h": 61.488,
    "s": 56.279,
    "l": 57.843
  },
  "oklch": {
    "l": 0.83191,
    "c": 0.14317,
    "h": 110.5
  },
  "luminance": 0.58779
}

Semantic roles & 50–950 ramp

primary
#CDD057
secondary
#403E8E
accent
#48E04C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CDD057

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

Preview Lab → · Contrast checker → · Palette generator →

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