#CDC284#CDC284

#CDC284 is a light, moderate yellow. Relative luminance 0.532; OKLCH L 80.9% C 0.082 H 99.4°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#CDC284
RGBrgb(205, 194, 132)
HSLhsl(51, 42%, 66%)
HSVhsv(51, 36%, 80%)
CMYKcmyk(0%, 5.4%, 35.6%, 19.6%)
CIE-LABlab(78.01, -5.30, 32.62)
CIE-LCHlch(78.01, 33.04, 99.23°)
OKLaboklab(80.86% -0.0133 0.0807)
OKLCHoklch(80.86% 0.082 99.4)
XYZxyz(48.6342, 53.2299, 29.5378)
Luminance0.5323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC284 #848FCD
analogous
#CD9D84 #CDC284 #B3CD84
triadic
#CDC284 #84CDC2 #C284CD
tetradic
#CDC284 #84CD9D #848FCD #CD84B3
square
#CDC284 #84CD9D #848FCD #CD84B3
split-complementary
#CDC284 #84B3CD #9D84CD
monochromatic
#998B3E #BBAC58 #CDC284 #DFD8B0 #F0EDDB

Accessibility & contrast

On white

1.80
#CDC284 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#CDC284 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC284
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC284#FFFFFF#000000##000000
##CDC2841.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBE80
Deuteranopia (green-blind)
#D1C386
Tritanopia (blue-blind)
#D8BAB2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc284;
/* rgb */ color: rgb(205, 194, 132);
/* oklch */ color: oklch(80.9% 0.082 99.4);
Tailwind
colors: {
  custom: {
    50: '#ddd4a8',
    500: '#cdc284',
    950: '#000000',
  },
}
SCSS
$custom: #cdc284;
$custom-light: #ddd4a8;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc284",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 132
  },
  "hsl": {
    "h": 50.959,
    "s": 42.197,
    "l": 66.078
  },
  "oklch": {
    "l": 0.8086,
    "c": 0.08179,
    "h": 99.4
  },
  "luminance": 0.53229
}

Semantic roles & 50–950 ramp

primary
#CDC284
secondary
#56619F
accent
#44B530
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC284

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

Preview Lab → · Contrast checker → · Palette generator →

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