#CDCC89#CDCC89

#CDCC89 is a very light, moderate yellow. Relative luminance 0.580; OKLCH L 83.0% C 0.087 H 107.4°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#CDCC89
RGBrgb(205, 204, 137)
HSLhsl(59, 40%, 67%)
HSVhsv(59, 33%, 80%)
CMYKcmyk(0%, 0.5%, 33.2%, 19.6%)
CIE-LABlab(80.72, -9.85, 33.58)
CIE-LCHlch(80.72, 35.00, 106.35°)
OKLaboklab(83.04% -0.0261 0.0831)
OKLCHoklch(83.04% 0.087 107.4)
XYZxyz(51.2855, 57.9719, 32.1501)
Luminance0.5797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC89 #898ACD
analogous
#CDAA89 #CDCC89 #ACCD89
triadic
#CDCC89 #89CDCC #CC89CD
tetradic
#CDCC89 #89CDAA #898ACD #CD89AC
square
#CDCC89 #89CDAA #898ACD #CD89AC
split-complementary
#CDCC89 #89ACCD #AA89CD
monochromatic
#9A9941 #BBB95E #CDCC89 #DFDFB4 #F1F1DF

Accessibility & contrast

On white

1.67
#CDCC89 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#CDCC89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC89
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC89#FFFFFF#000000##000000
##CDCC891.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C784
Deuteranopia (green-blind)
#D8CA8C
Tritanopia (blue-blind)
#D6C4BB
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcc89;
/* rgb */ color: rgb(205, 204, 137);
/* oklch */ color: oklch(83.0% 0.087 107.4);
Tailwind
colors: {
  custom: {
    50: '#dddbac',
    500: '#cdcc89',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc89;
$custom-light: #dddbac;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc89",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 137
  },
  "hsl": {
    "h": 59.118,
    "s": 40.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.83036,
    "c": 0.08712,
    "h": 107.4
  },
  "luminance": 0.57971
}

Semantic roles & 50–950 ramp

primary
#CDCC89
secondary
#5A5BA1
accent
#34B432
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CDCC89

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

Preview Lab → · Contrast checker → · Palette generator →

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