#CDC882#CDC882

#CDC882 is a very light, moderate yellow. Relative luminance 0.559; OKLCH L 82.1% C 0.091 H 104.7°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#CDC882
RGBrgb(205, 200, 130)
HSLhsl(56, 43%, 66%)
HSVhsv(56, 37%, 80%)
CMYKcmyk(0%, 2.4%, 36.6%, 19.6%)
CIE-LABlab(79.56, -8.63, 35.66)
CIE-LCHlch(79.56, 36.69, 103.61°)
OKLaboklab(82.08% -0.023 0.0877)
OKLCHoklch(82.08% 0.091 104.7)
XYZxyz(49.8610, 55.9005, 29.2781)
Luminance0.5590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC882 #8287CD
analogous
#CDA282 #CDC882 #ACCD82
triadic
#CDC882 #82CDC8 #C882CD
tetradic
#CDC882 #82CDA2 #8287CD #CD82AC
square
#CDC882 #82CDA2 #8287CD #CD82AC
split-complementary
#CDC882 #82ACCD #A282CD
monochromatic
#98923D #BCB556 #CDC882 #DEDBAE #F0EED9

Accessibility & contrast

On white

1.72
#CDC882 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#CDC882 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC882
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC882#FFFFFF#000000##000000
##CDC8821.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C37D
Deuteranopia (green-blind)
#D6C785
Tritanopia (blue-blind)
#D7BFB6
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdc882;
/* rgb */ color: rgb(205, 200, 130);
/* oklch */ color: oklch(82.1% 0.091 104.7);
Tailwind
colors: {
  custom: {
    50: '#ddd8a7',
    500: '#cdc882',
    950: '#000000',
  },
}
SCSS
$custom: #cdc882;
$custom-light: #ddd8a7;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc882",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 130
  },
  "hsl": {
    "h": 56,
    "s": 42.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.82075,
    "c": 0.09065,
    "h": 104.7
  },
  "luminance": 0.55899
}

Semantic roles & 50–950 ramp

primary
#CDC882
secondary
#555A9E
accent
#39B630
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC882

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

Preview Lab → · Contrast checker → · Palette generator →

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