#CDC188#CDC188

#CDC188 is a light, moderate yellow. Relative luminance 0.529; OKLCH L 80.7% C 0.076 H 97.7°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#CDC188
RGBrgb(205, 193, 136)
HSLhsl(50, 41%, 67%)
HSVhsv(50, 34%, 80%)
CMYKcmyk(0%, 5.9%, 33.7%, 19.6%)
CIE-LABlab(77.81, -4.30, 30.27)
CIE-LCHlch(77.81, 30.58, 98.08°)
OKLaboklab(80.73% -0.0102 0.0753)
OKLCHoklch(80.73% 0.076 97.7)
XYZxyz(48.6914, 52.8979, 30.9332)
Luminance0.5290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC188 #8894CD
analogous
#CD9F88 #CDC188 #B7CD88
triadic
#CDC188 #88CDC1 #C188CD
tetradic
#CDC188 #88CD9F #8894CD #CD88B7
square
#CDC188 #88CD9F #8894CD #CD88B7
split-complementary
#CDC188 #88B7CD #9F88CD
monochromatic
#9A8A41 #BBAB5D #CDC188 #DFD7B3 #F1EEDE

Accessibility & contrast

On white

1.81
#CDC188 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#CDC188 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC188
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC188#FFFFFF#000000##000000
##CDC1881.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBE84
Deuteranopia (green-blind)
#CFC28A
Tritanopia (blue-blind)
#D7B9B2
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc188;
/* rgb */ color: rgb(205, 193, 136);
/* oklch */ color: oklch(80.7% 0.076 97.7);
Tailwind
colors: {
  custom: {
    50: '#ddd3ab',
    500: '#cdc188',
    950: '#000000',
  },
}
SCSS
$custom: #cdc188;
$custom-light: #ddd3ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc188",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 136
  },
  "hsl": {
    "h": 49.565,
    "s": 40.828,
    "l": 66.863
  },
  "oklch": {
    "l": 0.80727,
    "c": 0.07602,
    "h": 97.7
  },
  "luminance": 0.52897
}

Semantic roles & 50–950 ramp

primary
#CDC188
secondary
#5965A0
accent
#48B432
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC188

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

Preview Lab → · Contrast checker → · Palette generator →

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