#CDC689#CDC689

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

Color values

HEX#CDC689
RGBrgb(205, 198, 137)
HSLhsl(54, 40%, 67%)
HSVhsv(54, 33%, 80%)
CMYKcmyk(0%, 3.4%, 33.2%, 19.6%)
CIE-LABlab(79.14, -6.77, 31.50)
CIE-LCHlch(79.14, 32.22, 102.13°)
OKLaboklab(81.78% -0.0173 0.0783)
OKLCHoklch(81.78% 0.08 102.4)
XYZxyz(49.8868, 55.1746, 31.6839)
Luminance0.5517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC689 #8990CD
analogous
#CDA489 #CDC689 #B2CD89
triadic
#CDC689 #89CDC6 #C689CD
tetradic
#CDC689 #89CDA4 #8990CD #CD89B2
square
#CDC689 #89CDA4 #8990CD #CD89B2
split-complementary
#CDC689 #89B2CD #A489CD
monochromatic
#9A9141 #BBB15E #CDC689 #DFDBB4 #F1F0DF

Accessibility & contrast

On white

1.74
#CDC689 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC689#FFFFFF#000000##000000
##CDC6891.001.7412.0312.03
#FFFFFF1.741.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc689;
/* rgb */ color: rgb(205, 198, 137);
/* oklch */ color: oklch(81.8% 0.080 102.4);
Tailwind
colors: {
  custom: {
    50: '#ddd7ac',
    500: '#cdc689',
    950: '#000000',
  },
}
SCSS
$custom: #cdc689;
$custom-light: #ddd7ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc689",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 137
  },
  "hsl": {
    "h": 53.824,
    "s": 40.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.81782,
    "c": 0.08014,
    "h": 102.4
  },
  "luminance": 0.55173
}

Semantic roles & 50–950 ramp

primary
#CDC689
secondary
#5A61A1
accent
#3FB432
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC689

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

Preview Lab → · Contrast checker → · Palette generator →

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