#CDC688#CDC688

#CDC688 is a light, moderate yellow. Relative luminance 0.551; OKLCH L 81.8% C 0.081 H 102.5°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#CDC688
RGBrgb(205, 198, 136)
HSLhsl(54, 41%, 67%)
HSVhsv(54, 34%, 80%)
CMYKcmyk(0%, 3.4%, 33.7%, 19.6%)
CIE-LABlab(79.13, -6.89, 32.00)
CIE-LCHlch(79.13, 32.74, 102.15°)
OKLaboklab(81.76% -0.0176 0.0794)
OKLCHoklch(81.76% 0.081 102.5)
XYZxyz(49.8154, 55.1460, 31.3078)
Luminance0.5514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC688 #888FCD
analogous
#CDA488 #CDC688 #B2CD88
triadic
#CDC688 #88CDC6 #C688CD
tetradic
#CDC688 #88CDA4 #888FCD #CD88B2
square
#CDC688 #88CDA4 #888FCD #CD88B2
split-complementary
#CDC688 #88B2CD #A488CD
monochromatic
#9A9141 #BBB15D #CDC688 #DFDBB3 #F1EFDE

Accessibility & contrast

On white

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

On black

12.03
#CDC688 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC688
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC688#FFFFFF#000000##000000
##CDC6881.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C284
Deuteranopia (green-blind)
#D3C68A
Tritanopia (blue-blind)
#D7BEB6
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc688;
/* rgb */ color: rgb(205, 198, 136);
/* oklch */ color: oklch(81.8% 0.081 102.5);
Tailwind
colors: {
  custom: {
    50: '#ddd7ab',
    500: '#cdc688',
    950: '#000000',
  },
}
SCSS
$custom: #cdc688;
$custom-light: #ddd7ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc688",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 136
  },
  "hsl": {
    "h": 53.913,
    "s": 40.828,
    "l": 66.863
  },
  "oklch": {
    "l": 0.81764,
    "c": 0.08134,
    "h": 102.5
  },
  "luminance": 0.55145
}

Semantic roles & 50–950 ramp

primary
#CDC688
secondary
#5960A0
accent
#3FB432
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC688

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

Preview Lab → · Contrast checker → · Palette generator →

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