#CDC784#CDC784

#CDC784 is a light, moderate yellow. Relative luminance 0.555; OKLCH L 81.9% C 0.087 H 103.8°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#CDC784
RGBrgb(205, 199, 132)
HSLhsl(55, 42%, 66%)
HSVhsv(55, 36%, 80%)
CMYKcmyk(0%, 2.9%, 35.6%, 19.6%)
CIE-LABlab(79.32, -7.89, 34.33)
CIE-LCHlch(79.32, 35.23, 102.93°)
OKLaboklab(81.9% -0.0207 0.0847)
OKLCHoklch(81.9% 0.087 103.8)
XYZxyz(49.7658, 55.4931, 29.9150)
Luminance0.5549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC784 #848ACD
analogous
#CDA284 #CDC784 #AECD84
triadic
#CDC784 #84CDC7 #C784CD
tetradic
#CDC784 #84CDA2 #848ACD #CD84AE
square
#CDC784 #84CDA2 #848ACD #CD84AE
split-complementary
#CDC784 #84AECD #A284CD
monochromatic
#99913E #BBB358 #CDC784 #DFDBB0 #F0EFDB

Accessibility & contrast

On white

1.74
#CDC784 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#CDC784 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC784
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC784#FFFFFF#000000##000000
##CDC7841.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C27F
Deuteranopia (green-blind)
#D5C687
Tritanopia (blue-blind)
#D7BEB6
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc784;
/* rgb */ color: rgb(205, 199, 132);
/* oklch */ color: oklch(81.9% 0.087 103.8);
Tailwind
colors: {
  custom: {
    50: '#ddd7a8',
    500: '#cdc784',
    950: '#000000',
  },
}
SCSS
$custom: #cdc784;
$custom-light: #ddd7a8;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc784",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 132
  },
  "hsl": {
    "h": 55.068,
    "s": 42.197,
    "l": 66.078
  },
  "oklch": {
    "l": 0.819,
    "c": 0.08719,
    "h": 103.8
  },
  "luminance": 0.55492
}

Semantic roles & 50–950 ramp

primary
#CDC784
secondary
#565C9F
accent
#3BB530
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151410
muted
#848380

Preview Lab

Preview with #CDC784

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

Preview Lab → · Contrast checker → · Palette generator →

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