#CDC189#CDC189

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

Color values

HEX#CDC189
RGBrgb(205, 193, 137)
HSLhsl(49, 40%, 67%)
HSVhsv(49, 33%, 80%)
CMYKcmyk(0%, 5.9%, 33.2%, 19.6%)
CIE-LABlab(77.83, -4.18, 29.77)
CIE-LCHlch(77.83, 30.06, 97.99°)
OKLaboklab(80.75% -0.0098 0.0742)
OKLCHoklch(80.75% 0.075 97.5)
XYZxyz(48.7628, 52.9265, 31.3092)
Luminance0.5292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC189 #8995CD
analogous
#CD9F89 #CDC189 #B7CD89
triadic
#CDC189 #89CDC1 #C189CD
tetradic
#CDC189 #89CD9F #8995CD #CD89B7
square
#CDC189 #89CD9F #8995CD #CD89B7
split-complementary
#CDC189 #89B7CD #9F89CD
monochromatic
#9A8B41 #BBAA5E #CDC189 #DFD8B4 #F1EEDF

Accessibility & contrast

On white

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

On black

11.59
#CDC189 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC189
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC189#FFFFFF#000000##000000
##CDC1891.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc189;
/* rgb */ color: rgb(205, 193, 137);
/* oklch */ color: oklch(80.7% 0.075 97.5);
Tailwind
colors: {
  custom: {
    50: '#ddd3ac',
    500: '#cdc189',
    950: '#000000',
  },
}
SCSS
$custom: #cdc189;
$custom-light: #ddd3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc189",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 137
  },
  "hsl": {
    "h": 49.412,
    "s": 40.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.80746,
    "c": 0.07483,
    "h": 97.5
  },
  "luminance": 0.52925
}

Semantic roles & 50–950 ramp

primary
#CDC189
secondary
#5A66A1
accent
#49B432
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC189

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

Preview Lab → · Contrast checker → · Palette generator →

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