#CDD866#CDD866

#CDD866 is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.1% C 0.139 H 113.9°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#CDD866
RGBrgb(205, 216, 102)
HSLhsl(66, 59%, 62%)
HSVhsv(66, 53%, 85%)
CMYKcmyk(5.1%, 0%, 52.8%, 15.3%)
CIE-LABlab(83.47, -19.46, 54.15)
CIE-LCHlch(83.47, 57.55, 109.77°)
OKLaboklab(85.07% -0.0564 0.127)
OKLCHoklch(85.07% 0.139 113.9)
XYZxyz(52.1319, 63.0510, 21.9916)
Luminance0.6305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD866 #7166D8
analogous
#D8AA66 #CDD866 #94D866
triadic
#CDD866 #66CDD8 #D866CD
tetradic
#CDD866 #66D8AA #7166D8 #D86694
square
#CDD866 #66D8AA #7166D8 #D86694
split-complementary
#CDD866 #6694D8 #AA66D8
monochromatic
#919C28 #BDCC35 #CDD866 #DDE497 #EDF1C8

Accessibility & contrast

On white

1.54
#CDD866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.61
#CDD866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD866
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD866#FFFFFF#000000##000000
##CDD8661.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdd866;
/* rgb */ color: rgb(205, 216, 102);
/* oklch */ color: oklch(85.1% 0.139 113.9);
Tailwind
colors: {
  custom: {
    50: '#dee495',
    500: '#cdd866',
    950: '#000000',
  },
}
SCSS
$custom: #cdd866;
$custom-light: #dee495;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd866",
  "rgb": {
    "r": 205,
    "g": 216,
    "b": 102
  },
  "hsl": {
    "h": 65.789,
    "s": 59.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.85074,
    "c": 0.13894,
    "h": 113.9
  },
  "luminance": 0.6305
}

Semantic roles & 50–950 ramp

primary
#CDD866
secondary
#4B42A0
accent
#1EC72F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CDD866

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

Preview Lab → · Contrast checker → · Palette generator →

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