#CDC382#CDC382

#CDC382 is a light, moderate yellow. Relative luminance 0.536; OKLCH L 81.0% C 0.085 H 100.6°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#CDC382
RGBrgb(205, 195, 130)
HSLhsl(52, 43%, 66%)
HSVhsv(52, 37%, 80%)
CMYKcmyk(0%, 4.9%, 36.6%, 19.6%)
CIE-LABlab(78.24, -6.05, 33.96)
CIE-LCHlch(78.24, 34.49, 100.11°)
OKLaboklab(81.03% -0.0156 0.0837)
OKLCHoklch(81.03% 0.085 100.6)
XYZxyz(48.7220, 53.6223, 28.8984)
Luminance0.5362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC382 #828CCD
analogous
#CD9D82 #CDC382 #B1CD82
triadic
#CDC382 #82CDC3 #C382CD
tetradic
#CDC382 #82CD9D #828CCD #CD82B1
square
#CDC382 #82CD9D #828CCD #CD82B1
split-complementary
#CDC382 #82B1CD #9D82CD
monochromatic
#988C3D #BCAE56 #CDC382 #DED8AE #F0EDD9

Accessibility & contrast

On white

1.79
#CDC382 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.72
#CDC382 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC382
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC382#FFFFFF#000000##000000
##CDC3821.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBF7D
Deuteranopia (green-blind)
#D2C384
Tritanopia (blue-blind)
#D8BAB3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc382;
/* rgb */ color: rgb(205, 195, 130);
/* oklch */ color: oklch(81.0% 0.085 100.6);
Tailwind
colors: {
  custom: {
    50: '#ddd5a7',
    500: '#cdc382',
    950: '#000000',
  },
}
SCSS
$custom: #cdc382;
$custom-light: #ddd5a7;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc382",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 130
  },
  "hsl": {
    "h": 52,
    "s": 42.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.81032,
    "c": 0.08518,
    "h": 100.6
  },
  "luminance": 0.53621
}

Semantic roles & 50–950 ramp

primary
#CDC382
secondary
#555F9E
accent
#41B630
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC382

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

Preview Lab → · Contrast checker → · Palette generator →

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