#CDD771#CDD771

#CDD771 is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 85.0% C 0.127 H 113.7°. Best body text is #000000 at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#CDD771
RGBrgb(205, 215, 113)
HSLhsl(66, 56%, 64%)
HSVhsv(66, 47%, 84%)
CMYKcmyk(4.7%, 0%, 47.4%, 15.7%)
CIE-LABlab(83.32, -17.98, 48.82)
CIE-LCHlch(83.32, 52.03, 110.22°)
OKLaboklab(85% -0.0511 0.1163)
OKLCHoklch(85% 0.127 113.7)
XYZxyz(52.4587, 62.7731, 24.9725)
Luminance0.6277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD771 #7B71D7
analogous
#D7AE71 #CDD771 #9AD771
triadic
#CDD771 #71CDD7 #D771CD
tetradic
#CDD771 #71D7AE #7B71D7 #D7719A
square
#CDD771 #71D7AE #7B71D7 #D7719A
split-complementary
#CDD771 #719AD7 #AE71D7
monochromatic
#95A02D #BCCA41 #CDD771 #DEE4A1 #EFF2D0

Accessibility & contrast

On white

1.55
#CDD771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.55
#CDD771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD771
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD771#FFFFFF#000000##000000
##CDD7711.001.5513.5513.55
#FFFFFF1.551.0021.0021.00
#00000013.5521.001.001.00
##00000013.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF68
Deuteranopia (green-blind)
#E3D176
Tritanopia (blue-blind)
#D8CDBF
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cdd771;
/* rgb */ color: rgb(205, 215, 113);
/* oklch */ color: oklch(85.0% 0.127 113.7);
Tailwind
colors: {
  custom: {
    50: '#dee39c',
    500: '#cdd771',
    950: '#000000',
  },
}
SCSS
$custom: #cdd771;
$custom-light: #dee39c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd771",
  "rgb": {
    "r": 205,
    "g": 215,
    "b": 113
  },
  "hsl": {
    "h": 65.882,
    "s": 56.044,
    "l": 64.314
  },
  "oklch": {
    "l": 0.84997,
    "c": 0.12706,
    "h": 113.7
  },
  "luminance": 0.62772
}

Semantic roles & 50–950 ramp

primary
#CDD771
secondary
#5148A4
accent
#22C432
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDD771

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

Preview Lab → · Contrast checker → · Palette generator →

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