#CDC584#CDC584

#CDC584 is a light, moderate yellow. Relative luminance 0.546; OKLCH L 81.5% C 0.085 H 102.1°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#CDC584
RGBrgb(205, 197, 132)
HSLhsl(53, 42%, 66%)
HSVhsv(53, 36%, 80%)
CMYKcmyk(0%, 3.9%, 35.6%, 19.6%)
CIE-LABlab(78.80, -6.85, 33.65)
CIE-LCHlch(78.80, 34.34, 101.51°)
OKLaboklab(81.48% -0.0178 0.0831)
OKLCHoklch(81.48% 0.085 102.1)
XYZxyz(49.3086, 54.5788, 29.7626)
Luminance0.5458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC584 #848CCD
analogous
#CDA084 #CDC584 #B0CD84
triadic
#CDC584 #84CDC5 #C584CD
tetradic
#CDC584 #84CDA0 #848CCD #CD84B0
square
#CDC584 #84CDA0 #848CCD #CD84B0
split-complementary
#CDC584 #84B0CD #A084CD
monochromatic
#998F3E #BBB058 #CDC584 #DFDAB0 #F0EEDB

Accessibility & contrast

On white

1.76
#CDC584 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.92
#CDC584 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC584
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC584#FFFFFF#000000##000000
##CDC5841.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C17F
Deuteranopia (green-blind)
#D3C586
Tritanopia (blue-blind)
#D7BDB4
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc584;
/* rgb */ color: rgb(205, 197, 132);
/* oklch */ color: oklch(81.5% 0.085 102.1);
Tailwind
colors: {
  custom: {
    50: '#ddd6a8',
    500: '#cdc584',
    950: '#000000',
  },
}
SCSS
$custom: #cdc584;
$custom-light: #ddd6a8;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc584",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 132
  },
  "hsl": {
    "h": 53.425,
    "s": 42.197,
    "l": 66.078
  },
  "oklch": {
    "l": 0.81483,
    "c": 0.08497,
    "h": 102.1
  },
  "luminance": 0.54578
}

Semantic roles & 50–950 ramp

primary
#CDC584
secondary
#565E9F
accent
#3FB530
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151410
muted
#848380

Preview Lab

Preview with #CDC584

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

Preview Lab → · Contrast checker → · Palette generator →

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