#CDCC94#CDCC94

#CDCC94 is a very light, moderate yellow. Relative luminance 0.583; OKLCH L 83.2% C 0.074 H 107.0°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#CDCC94
RGBrgb(205, 204, 148)
HSLhsl(59, 36%, 69%)
HSVhsv(59, 28%, 80%)
CMYKcmyk(0%, 0.5%, 27.8%, 19.6%)
CIE-LABlab(80.91, -8.46, 28.12)
CIE-LCHlch(80.91, 29.37, 106.75°)
OKLaboklab(83.24% -0.0216 0.0706)
OKLCHoklch(83.24% 0.074 107)
XYZxyz(52.1151, 58.3038, 36.5196)
Luminance0.5830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC94 #9495CD
analogous
#CDB094 #CDCC94 #B2CD94
triadic
#CDCC94 #94CDCC #CC94CD
tetradic
#CDCC94 #94CDB0 #9495CD #CD94B2
square
#CDCC94 #94CDB0 #9495CD #CD94B2
split-complementary
#CDCC94 #94B2CD #B094CD
monochromatic
#9D9C49 #BAB86A #CDCC94 #E0E0BE #F4F4E7

Accessibility & contrast

On white

1.66
#CDCC94 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.66
#CDCC94 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC94
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC94#FFFFFF#000000##000000
##CDCC941.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C790
Deuteranopia (green-blind)
#D7CA96
Tritanopia (blue-blind)
#D5C5BD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdcc94;
/* rgb */ color: rgb(205, 204, 148);
/* oklch */ color: oklch(83.2% 0.074 107.0);
Tailwind
colors: {
  custom: {
    50: '#dddbb4',
    500: '#cdcc94',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc94;
$custom-light: #dddbb4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc94",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 148
  },
  "hsl": {
    "h": 58.947,
    "s": 36.306,
    "l": 69.216
  },
  "oklch": {
    "l": 0.83242,
    "c": 0.07379,
    "h": 107
  },
  "luminance": 0.58303
}

Semantic roles & 50–950 ramp

primary
#CDCC94
secondary
#6364A2
accent
#38AF36
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CDCC94

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

Preview Lab → · Contrast checker → · Palette generator →

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