#CDCD90#CDCD90

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

Color values

HEX#CDCD90
RGBrgb(205, 205, 144)
HSLhsl(60, 38%, 68%)
HSVhsv(60, 30%, 80%)
CMYKcmyk(0%, 0%, 29.8%, 19.6%)
CIE-LABlab(81.10, -9.49, 30.47)
CIE-LCHlch(81.10, 31.91, 107.31°)
OKLaboklab(83.37% -0.0247 0.076)
OKLCHoklch(83.37% 0.08 108)
XYZxyz(52.0424, 58.6562, 34.9604)
Luminance0.5866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD90 #9090CD
analogous
#CDAE90 #CDCD90 #AECD90
triadic
#CDCD90 #90CDCD #CD90CD
tetradic
#CDCD90 #90CDAE #9090CD #CD90AE
square
#CDCD90 #90CDAE #9090CD #CD90AE
split-complementary
#CDCD90 #90AECD #AE90CD
monochromatic
#9C9C46 #BABA66 #CDCD90 #E0E0BA #F3F3E4

Accessibility & contrast

On white

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

On black

12.73
#CDCD90 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD90
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD90#FFFFFF#000000##000000
##CDCD901.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdcd90;
/* rgb */ color: rgb(205, 205, 144);
/* oklch */ color: oklch(83.4% 0.080 108.0);
Tailwind
colors: {
  custom: {
    50: '#dddcb1',
    500: '#cdcd90',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd90;
$custom-light: #dddcb1;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd90",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 144
  },
  "hsl": {
    "h": 60,
    "s": 37.888,
    "l": 68.431
  },
  "oklch": {
    "l": 0.83374,
    "c": 0.07993,
    "h": 108
  },
  "luminance": 0.58655
}

Semantic roles & 50–950 ramp

primary
#CDCD90
secondary
#5F5FA2
accent
#35B135
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CDCD90

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

Preview Lab → · Contrast checker → · Palette generator →

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