#CDCD85#CDCD85

#CDCD85 is a very light, moderate yellow. Relative luminance 0.583; OKLCH L 83.2% C 0.093 H 108.3°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#CDCD85
RGBrgb(205, 205, 133)
HSLhsl(60, 42%, 66%)
HSVhsv(60, 35%, 80%)
CMYKcmyk(0%, 0%, 35.1%, 19.6%)
CIE-LABlab(80.93, -10.84, 35.90)
CIE-LCHlch(80.93, 37.50, 106.80°)
OKLaboklab(83.18% -0.0291 0.0884)
OKLCHoklch(83.18% 0.093 108.3)
XYZxyz(51.2423, 58.3362, 30.7464)
Luminance0.5834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD85 #8585CD
analogous
#CDA985 #CDCD85 #A9CD85
triadic
#CDCD85 #85CDCD #CD85CD
tetradic
#CDCD85 #85CDA9 #8585CD #CD85A9
square
#CDCD85 #85CDA9 #8585CD #CD85A9
split-complementary
#CDCD85 #85A9CD #A985CD
monochromatic
#99993F #BBBB5A #CDCD85 #DFDFB0 #F1F1DC

Accessibility & contrast

On white

1.66
#CDCD85 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.67
#CDCD85 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD85
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD85#FFFFFF#000000##000000
##CDCD851.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C780
Deuteranopia (green-blind)
#D9CA88
Tritanopia (blue-blind)
#D7C4BB
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdcd85;
/* rgb */ color: rgb(205, 205, 133);
/* oklch */ color: oklch(83.2% 0.093 108.3);
Tailwind
colors: {
  custom: {
    50: '#dddca9',
    500: '#cdcd85',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd85;
$custom-light: #dddca9;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd85",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 133
  },
  "hsl": {
    "h": 60,
    "s": 41.86,
    "l": 66.275
  },
  "oklch": {
    "l": 0.83176,
    "c": 0.09303,
    "h": 108.3
  },
  "luminance": 0.58335
}

Semantic roles & 50–950 ramp

primary
#CDCD85
secondary
#57579F
accent
#31B531
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151510
muted
#848480

Preview Lab

Preview with #CDCD85

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

Preview Lab → · Contrast checker → · Palette generator →

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