#CDC684#CDC684

#CDC684 is a light, moderate yellow. Relative luminance 0.550; OKLCH L 81.7% C 0.086 H 102.9°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#CDC684
RGBrgb(205, 198, 132)
HSLhsl(54, 42%, 66%)
HSVhsv(54, 36%, 80%)
CMYKcmyk(0%, 3.4%, 35.6%, 19.6%)
CIE-LABlab(79.06, -7.37, 33.99)
CIE-LCHlch(79.06, 34.78, 102.23°)
OKLaboklab(81.69% -0.0193 0.0839)
OKLCHoklch(81.69% 0.086 102.9)
XYZxyz(49.5364, 55.0344, 29.8386)
Luminance0.5503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC684 #848BCD
analogous
#CDA184 #CDC684 #AFCD84
triadic
#CDC684 #84CDC6 #C684CD
tetradic
#CDC684 #84CDA1 #848BCD #CD84AF
square
#CDC684 #84CDA1 #848BCD #CD84AF
split-complementary
#CDC684 #84AFCD #A184CD
monochromatic
#99903E #BBB258 #CDC684 #DFDAB0 #F0EEDB

Accessibility & contrast

On white

1.75
#CDC684 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#CDC684 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC684
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC684#FFFFFF#000000##000000
##CDC6841.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C27F
Deuteranopia (green-blind)
#D4C687
Tritanopia (blue-blind)
#D7BDB5
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc684;
/* rgb */ color: rgb(205, 198, 132);
/* oklch */ color: oklch(81.7% 0.086 102.9);
Tailwind
colors: {
  custom: {
    50: '#ddd7a8',
    500: '#cdc684',
    950: '#000000',
  },
}
SCSS
$custom: #cdc684;
$custom-light: #ddd7a8;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc684",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 132
  },
  "hsl": {
    "h": 54.247,
    "s": 42.197,
    "l": 66.078
  },
  "oklch": {
    "l": 0.81692,
    "c": 0.08607,
    "h": 102.9
  },
  "luminance": 0.55033
}

Semantic roles & 50–950 ramp

primary
#CDC684
secondary
#565D9F
accent
#3DB530
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151410
muted
#848380

Preview Lab

Preview with #CDC684

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

Preview Lab → · Contrast checker → · Palette generator →

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