#CDCC84#CDCC84

#CDCC84 is a very light, moderate yellow. Relative luminance 0.578; OKLCH L 82.9% C 0.093 H 107.6°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#CDCC84
RGBrgb(205, 204, 132)
HSLhsl(59, 42%, 66%)
HSVhsv(59, 36%, 80%)
CMYKcmyk(0%, 0.5%, 35.6%, 19.6%)
CIE-LABlab(80.65, -10.45, 36.05)
CIE-LCHlch(80.65, 37.53, 106.16°)
OKLaboklab(82.95% -0.0281 0.0887)
OKLCHoklch(82.95% 0.093 107.6)
XYZxyz(50.9351, 57.8318, 30.3048)
Luminance0.5783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC84 #8485CD
analogous
#CDA784 #CDCC84 #A9CD84
triadic
#CDCC84 #84CDCC #CC84CD
tetradic
#CDCC84 #84CDA7 #8485CD #CD84A9
square
#CDCC84 #84CDA7 #8485CD #CD84A9
split-complementary
#CDCC84 #84A9CD #A784CD
monochromatic
#99973E #BBBA58 #CDCC84 #DFDEB0 #F0F0DB

Accessibility & contrast

On white

1.67
#CDCC84 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.57
#CDCC84 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC84
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC84#FFFFFF#000000##000000
##CDCC841.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C67F
Deuteranopia (green-blind)
#D9CA87
Tritanopia (blue-blind)
#D7C3BA
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcc84;
/* rgb */ color: rgb(205, 204, 132);
/* oklch */ color: oklch(82.9% 0.093 107.6);
Tailwind
colors: {
  custom: {
    50: '#dddba8',
    500: '#cdcc84',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc84;
$custom-light: #dddba8;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc84",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 132
  },
  "hsl": {
    "h": 59.178,
    "s": 42.197,
    "l": 66.078
  },
  "oklch": {
    "l": 0.82948,
    "c": 0.09299,
    "h": 107.6
  },
  "luminance": 0.57831
}

Semantic roles & 50–950 ramp

primary
#CDCC84
secondary
#56579F
accent
#32B530
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151510
muted
#848480

Preview Lab

Preview with #CDCC84

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

Preview Lab → · Contrast checker → · Palette generator →

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