#CDC989#CDC989

#CDC989 is a very light, moderate yellow. Relative luminance 0.566; OKLCH L 82.4% C 0.084 H 105.0°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#CDC989
RGBrgb(205, 201, 137)
HSLhsl(56, 40%, 67%)
HSVhsv(56, 33%, 80%)
CMYKcmyk(0%, 2%, 33.2%, 19.6%)
CIE-LABlab(79.93, -8.32, 32.55)
CIE-LCHlch(79.93, 33.59, 104.33°)
OKLaboklab(82.41% -0.0217 0.0807)
OKLCHoklch(82.41% 0.084 105)
XYZxyz(50.5793, 56.5596, 31.9147)
Luminance0.5656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC989 #898DCD
analogous
#CDA789 #CDC989 #AFCD89
triadic
#CDC989 #89CDC9 #C989CD
tetradic
#CDC989 #89CDA7 #898DCD #CD89AF
square
#CDC989 #89CDA7 #898DCD #CD89AF
split-complementary
#CDC989 #89AFCD #A789CD
monochromatic
#9A9541 #BBB55E #CDC989 #DFDDB4 #F1F0DF

Accessibility & contrast

On white

1.71
#CDC989 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.31
#CDC989 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC989
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC989#FFFFFF#000000##000000
##CDC9891.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C485
Deuteranopia (green-blind)
#D6C88C
Tritanopia (blue-blind)
#D7C1B9
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdc989;
/* rgb */ color: rgb(205, 201, 137);
/* oklch */ color: oklch(82.4% 0.084 105.0);
Tailwind
colors: {
  custom: {
    50: '#ddd9ac',
    500: '#cdc989',
    950: '#000000',
  },
}
SCSS
$custom: #cdc989;
$custom-light: #ddd9ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc989",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 137
  },
  "hsl": {
    "h": 56.471,
    "s": 40.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.82407,
    "c": 0.08356,
    "h": 105
  },
  "luminance": 0.56559
}

Semantic roles & 50–950 ramp

primary
#CDC989
secondary
#5A5EA1
accent
#3AB432
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC989

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

Preview Lab → · Contrast checker → · Palette generator →

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