#CDD170#CDD170

#CDD170 is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.7% C 0.121 H 110.8°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#CDD170
RGBrgb(205, 209, 112)
HSLhsl(62, 51%, 63%)
HSVhsv(62, 46%, 82%)
CMYKcmyk(1.9%, 0%, 46.4%, 18%)
CIE-LABlab(81.70, -15.09, 47.34)
CIE-LCHlch(81.70, 49.69, 107.68°)
OKLaboklab(83.7% -0.043 0.113)
OKLCHoklch(83.7% 0.121 110.8)
XYZxyz(50.9028, 59.7509, 24.1777)
Luminance0.5975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD170 #7470D1
analogous
#D1A470 #CDD170 #9CD170
triadic
#CDD170 #70CDD1 #D170CD
tetradic
#CDD170 #70D1A4 #7470D1 #D1709C
square
#CDD170 #70D1A4 #7470D1 #D1709C
split-complementary
#CDD170 #709CD1 #A470D1
monochromatic
#929630 #BDC242 #CDD170 #DDE09E #EDEFCD

Accessibility & contrast

On white

1.62
#CDD170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.95
#CDD170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD170
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD170#FFFFFF#000000##000000
##CDD1701.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC968
Deuteranopia (green-blind)
#DFCD75
Tritanopia (blue-blind)
#D8C7BA
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cdd170;
/* rgb */ color: rgb(205, 209, 112);
/* oklch */ color: oklch(83.7% 0.121 110.8);
Tailwind
colors: {
  custom: {
    50: '#dedf9b',
    500: '#cdd170',
    950: '#000000',
  },
}
SCSS
$custom: #cdd170;
$custom-light: #dedf9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd170",
  "rgb": {
    "r": 205,
    "g": 209,
    "b": 112
  },
  "hsl": {
    "h": 62.474,
    "s": 51.323,
    "l": 62.941
  },
  "oklch": {
    "l": 0.83701,
    "c": 0.12088,
    "h": 110.8
  },
  "luminance": 0.5975
}

Semantic roles & 50–950 ramp

primary
#CDD170
secondary
#4D499C
accent
#27BF2D
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDD170

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

Preview Lab → · Contrast checker → · Palette generator →

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