#CDC985#CDC985

#CDC985 is a very light, moderate yellow. Relative luminance 0.564; OKLCH L 82.3% C 0.088 H 105.3°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#CDC985
RGBrgb(205, 201, 133)
HSLhsl(57, 42%, 66%)
HSVhsv(57, 35%, 80%)
CMYKcmyk(0%, 2%, 35.1%, 19.6%)
CIE-LABlab(79.87, -8.80, 34.53)
CIE-LCHlch(79.87, 35.63, 104.29°)
OKLaboklab(82.34% -0.0233 0.0852)
OKLCHoklch(82.34% 0.088 105.3)
XYZxyz(50.2977, 56.4470, 30.4315)
Luminance0.5645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC985 #8589CD
analogous
#CDA585 #CDC985 #ADCD85
triadic
#CDC985 #85CDC9 #C985CD
tetradic
#CDC985 #85CDA5 #8589CD #CD85AD
square
#CDC985 #85CDA5 #8589CD #CD85AD
split-complementary
#CDC985 #85ADCD #A585CD
monochromatic
#99943F #BBB65A #CDC985 #DFDCB0 #F1EFDC

Accessibility & contrast

On white

1.71
#CDC985 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.29
#CDC985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC985
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC985#FFFFFF#000000##000000
##CDC9851.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C480
Deuteranopia (green-blind)
#D6C888
Tritanopia (blue-blind)
#D7C1B8
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdc985;
/* rgb */ color: rgb(205, 201, 133);
/* oklch */ color: oklch(82.3% 0.088 105.3);
Tailwind
colors: {
  custom: {
    50: '#ddd9a9',
    500: '#cdc985',
    950: '#000000',
  },
}
SCSS
$custom: #cdc985;
$custom-light: #ddd9a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc985",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 133
  },
  "hsl": {
    "h": 56.667,
    "s": 41.86,
    "l": 66.275
  },
  "oklch": {
    "l": 0.82336,
    "c": 0.0883,
    "h": 105.3
  },
  "luminance": 0.56446
}

Semantic roles & 50–950 ramp

primary
#CDC985
secondary
#575B9F
accent
#38B531
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151410
muted
#848380

Preview Lab

Preview with #CDC985

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

Preview Lab → · Contrast checker → · Palette generator →

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