#CDCD91#CDCD91

#CDCD91 is a very light, moderate yellow. Relative luminance 0.587; OKLCH L 83.4% C 0.079 H 108.0°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#CDCD91
RGBrgb(205, 205, 145)
HSLhsl(60, 38%, 69%)
HSVhsv(60, 29%, 80%)
CMYKcmyk(0%, 0%, 29.3%, 19.6%)
CIE-LABlab(81.12, -9.37, 29.97)
CIE-LCHlch(81.12, 31.40, 107.36°)
OKLaboklab(83.39% -0.0243 0.0749)
OKLCHoklch(83.39% 0.079 108)
XYZxyz(52.1192, 58.6869, 35.3647)
Luminance0.5869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD91 #9191CD
analogous
#CDAF91 #CDCD91 #AFCD91
triadic
#CDCD91 #91CDCD #CD91CD
tetradic
#CDCD91 #91CDAF #9191CD #CD91AF
square
#CDCD91 #91CDAF #9191CD #CD91AF
split-complementary
#CDCD91 #91AFCD #AF91CD
monochromatic
#9C9C47 #BABA67 #CDCD91 #E0E0BB #F3F3E5

Accessibility & contrast

On white

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

On black

12.74
#CDCD91 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD91
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD91#FFFFFF#000000##000000
##CDCD911.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C88D
Deuteranopia (green-blind)
#D8CB93
Tritanopia (blue-blind)
#D6C6BD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdcd91;
/* rgb */ color: rgb(205, 205, 145);
/* oklch */ color: oklch(83.4% 0.079 108.0);
Tailwind
colors: {
  custom: {
    50: '#dddcb1',
    500: '#cdcd91',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd91;
$custom-light: #dddcb1;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd91",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 145
  },
  "hsl": {
    "h": 60,
    "s": 37.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.83393,
    "c": 0.07871,
    "h": 108
  },
  "luminance": 0.58686
}

Semantic roles & 50–950 ramp

primary
#CDCD91
secondary
#6060A2
accent
#35B035
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151511
muted
#848481

Preview Lab

Preview with #CDCD91

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

Preview Lab → · Contrast checker → · Palette generator →

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