#CDD166#CDD166

#CDD166 is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.6% C 0.131 H 110.8°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#CDD166
RGBrgb(205, 209, 102)
HSLhsl(62, 54%, 61%)
HSVhsv(62, 51%, 82%)
CMYKcmyk(1.9%, 0%, 51.2%, 18%)
CIE-LABlab(81.59, -16.00, 51.96)
CIE-LCHlch(81.59, 54.37, 107.11°)
OKLaboklab(83.57% -0.0465 0.1222)
OKLCHoklch(83.57% 0.131 110.8)
XYZxyz(50.3767, 59.5404, 21.4065)
Luminance0.5954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD166 #6A66D1
analogous
#D19F66 #CDD166 #97D166
triadic
#CDD166 #66CDD1 #D166CD
tetradic
#CDD166 #66D19F #6A66D1 #D16697
square
#CDD166 #66D19F #6A66D1 #D16697
split-complementary
#CDD166 #6697D1 #9F66D1
monochromatic
#8D912C #BBC03A #CDD166 #DCDF95 #ECEDC4

Accessibility & contrast

On white

1.63
#CDD166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#CDD166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD166
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD166#FFFFFF#000000##000000
##CDD1661.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC95C
Deuteranopia (green-blind)
#E0CC6C
Tritanopia (blue-blind)
#D9C6B9
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cdd166;
/* rgb */ color: rgb(205, 209, 102);
/* oklch */ color: oklch(83.6% 0.131 110.8);
Tailwind
colors: {
  custom: {
    50: '#dedf94',
    500: '#cdd166',
    950: '#000000',
  },
}
SCSS
$custom: #cdd166;
$custom-light: #dedf94;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd166",
  "rgb": {
    "r": 205,
    "g": 209,
    "b": 102
  },
  "hsl": {
    "h": 62.243,
    "s": 53.769,
    "l": 60.98
  },
  "oklch": {
    "l": 0.83572,
    "c": 0.1308,
    "h": 110.8
  },
  "luminance": 0.59539
}

Semantic roles & 50–950 ramp

primary
#CDD166
secondary
#474497
accent
#24C12A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CDD166

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

Preview Lab → · Contrast checker → · Palette generator →

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