#CDC082#CDC082

#CDC082 is a light, moderate yellow. Relative luminance 0.523; OKLCH L 80.4% C 0.082 H 97.8°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#CDC082
RGBrgb(205, 192, 130)
HSLhsl(50, 43%, 66%)
HSVhsv(50, 37%, 80%)
CMYKcmyk(0%, 6.3%, 36.6%, 19.6%)
CIE-LABlab(77.45, -4.49, 32.93)
CIE-LCHlch(77.45, 33.23, 97.77°)
OKLaboklab(80.41% -0.0111 0.0814)
OKLCHoklch(80.41% 0.082 97.8)
XYZxyz(48.0565, 52.2915, 28.6766)
Luminance0.5229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC082 #828FCD
analogous
#CD9A82 #CDC082 #B4CD82
triadic
#CDC082 #82CDC0 #C082CD
tetradic
#CDC082 #82CD9A #828FCD #CD82B4
square
#CDC082 #82CD9A #828FCD #CD82B4
split-complementary
#CDC082 #82B4CD #9A82CD
monochromatic
#98883D #BCAA56 #CDC082 #DED6AE #F0ECD9

Accessibility & contrast

On white

1.83
#CDC082 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#CDC082 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC082
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC082#FFFFFF#000000##000000
##CDC0821.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBD7E
Deuteranopia (green-blind)
#CFC184
Tritanopia (blue-blind)
#D8B7B0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc082;
/* rgb */ color: rgb(205, 192, 130);
/* oklch */ color: oklch(80.4% 0.082 97.8);
Tailwind
colors: {
  custom: {
    50: '#ddd2a7',
    500: '#cdc082',
    950: '#000000',
  },
}
SCSS
$custom: #cdc082;
$custom-light: #ddd2a7;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc082",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 130
  },
  "hsl": {
    "h": 49.6,
    "s": 42.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.8041,
    "c": 0.08211,
    "h": 97.8
  },
  "luminance": 0.5229
}

Semantic roles & 50–950 ramp

primary
#CDC082
secondary
#55629E
accent
#47B630
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC082

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

Preview Lab → · Contrast checker → · Palette generator →

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