#CDCD89#CDCD89

#CDCD89 is a very light, moderate yellow. Relative luminance 0.584; OKLCH L 83.2% C 0.088 H 108.2°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#CDCD89
RGBrgb(205, 205, 137)
HSLhsl(60, 40%, 67%)
HSVhsv(60, 33%, 80%)
CMYKcmyk(0%, 0%, 33.2%, 19.6%)
CIE-LABlab(80.99, -10.36, 33.93)
CIE-LCHlch(80.99, 35.48, 106.98°)
OKLaboklab(83.25% -0.0275 0.0839)
OKLCHoklch(83.25% 0.088 108.2)
XYZxyz(51.5239, 58.4488, 32.2296)
Luminance0.5845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD89 #8989CD
analogous
#CDAB89 #CDCD89 #ABCD89
triadic
#CDCD89 #89CDCD #CD89CD
tetradic
#CDCD89 #89CDAB #8989CD #CD89AB
square
#CDCD89 #89CDAB #8989CD #CD89AB
split-complementary
#CDCD89 #89ABCD #AB89CD
monochromatic
#9A9A41 #BBBB5E #CDCD89 #DFDFB4 #F1F1DF

Accessibility & contrast

On white

1.65
#CDCD89 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.69
#CDCD89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD89
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD89#FFFFFF#000000##000000
##CDCD891.001.6512.6912.69
#FFFFFF1.651.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C884
Deuteranopia (green-blind)
#D9CA8C
Tritanopia (blue-blind)
#D6C5BC
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdcd89;
/* rgb */ color: rgb(205, 205, 137);
/* oklch */ color: oklch(83.2% 0.088 108.2);
Tailwind
colors: {
  custom: {
    50: '#dddcac',
    500: '#cdcd89',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd89;
$custom-light: #dddcac;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd89",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 137
  },
  "hsl": {
    "h": 60,
    "s": 40.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.83246,
    "c": 0.08834,
    "h": 108.2
  },
  "luminance": 0.58448
}

Semantic roles & 50–950 ramp

primary
#CDCD89
secondary
#5A5AA1
accent
#32B432
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CDCD89

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

Preview Lab → · Contrast checker → · Palette generator →

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