#CDC889#CDC889

#CDC889 is a very light, moderate yellow. Relative luminance 0.561; OKLCH L 82.2% C 0.082 H 104.2°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#CDC889
RGBrgb(205, 200, 137)
HSLhsl(56, 40%, 67%)
HSVhsv(56, 33%, 80%)
CMYKcmyk(0%, 2.4%, 33.2%, 19.6%)
CIE-LABlab(79.67, -7.80, 32.20)
CIE-LCHlch(79.67, 33.13, 103.62°)
OKLaboklab(82.2% -0.0202 0.0799)
OKLCHoklch(82.2% 0.082 104.2)
XYZxyz(50.3470, 56.0949, 31.8373)
Luminance0.5609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC889 #898ECD
analogous
#CDA689 #CDC889 #B0CD89
triadic
#CDC889 #89CDC8 #C889CD
tetradic
#CDC889 #89CDA6 #898ECD #CD89B0
square
#CDC889 #89CDA6 #898ECD #CD89B0
split-complementary
#CDC889 #89B0CD #A689CD
monochromatic
#9A9441 #BBB45E #CDC889 #DFDCB4 #F1F0DF

Accessibility & contrast

On white

1.72
#CDC889 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.22
#CDC889 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC889
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC889#FFFFFF#000000##000000
##CDC8891.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C485
Deuteranopia (green-blind)
#D5C78B
Tritanopia (blue-blind)
#D7C0B8
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdc889;
/* rgb */ color: rgb(205, 200, 137);
/* oklch */ color: oklch(82.2% 0.082 104.2);
Tailwind
colors: {
  custom: {
    50: '#ddd8ac',
    500: '#cdc889',
    950: '#000000',
  },
}
SCSS
$custom: #cdc889;
$custom-light: #ddd8ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc889",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 137
  },
  "hsl": {
    "h": 55.588,
    "s": 40.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.82199,
    "c": 0.08241,
    "h": 104.2
  },
  "luminance": 0.56094
}

Semantic roles & 50–950 ramp

primary
#CDC889
secondary
#5A5FA1
accent
#3CB432
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC889

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

Preview Lab → · Contrast checker → · Palette generator →

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