#CDD985#CDD985

#CDD985 is a very light, moderate yellow. Relative luminance 0.643; OKLCH L 85.7% C 0.108 H 115.4°. Best body text is #000000 at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#CDD985
RGBrgb(205, 217, 133)
HSLhsl(69, 53%, 69%)
HSVhsv(69, 39%, 85%)
CMYKcmyk(5.5%, 0%, 38.7%, 14.9%)
CIE-LABlab(84.12, -16.87, 40.01)
CIE-LCHlch(84.12, 43.42, 112.86°)
OKLaboklab(85.72% -0.0464 0.0978)
OKLCHoklch(85.72% 0.108 115.4)
XYZxyz(54.2236, 64.2988, 31.7402)
Luminance0.6430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD985 #9185D9
analogous
#D9BB85 #CDD985 #A3D985
triadic
#CDD985 #85CDD9 #D985CD
tetradic
#CDD985 #85D9BB #9185D9 #D985A3
square
#CDD985 #85D9BB #9185D9 #D985A3
split-complementary
#CDD985 #85A3D9 #BB85D9
monochromatic
#9CAE36 #BACA56 #CDD985 #E0E8B4 #F3F6E2

Accessibility & contrast

On white

1.52
#CDD985 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.86
#CDD985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD985
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD985#FFFFFF#000000##000000
##CDD9851.001.5213.8613.86
#FFFFFF1.521.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D17F
Deuteranopia (green-blind)
#E3D389
Tritanopia (blue-blind)
#D6D0C4
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #cdd985;
/* rgb */ color: rgb(205, 217, 133);
/* oklch */ color: oklch(85.7% 0.108 115.4);
Tailwind
colors: {
  custom: {
    50: '#dde4a9',
    500: '#cdd985',
    950: '#000000',
  },
}
SCSS
$custom: #cdd985;
$custom-light: #dde4a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd985",
  "rgb": {
    "r": 205,
    "g": 217,
    "b": 133
  },
  "hsl": {
    "h": 68.571,
    "s": 52.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.85719,
    "c": 0.10823,
    "h": 115.4
  },
  "luminance": 0.64298
}

Semantic roles & 50–950 ramp

primary
#CDD985
secondary
#6053AF
accent
#26C03C
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CDD985

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

Preview Lab → · Contrast checker → · Palette generator →

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