#CDC682#CDC682

#CDC682 is a light, moderate yellow. Relative luminance 0.550; OKLCH L 81.7% C 0.088 H 103.1°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#CDC682
RGBrgb(205, 198, 130)
HSLhsl(54, 43%, 66%)
HSVhsv(54, 37%, 80%)
CMYKcmyk(0%, 3.4%, 36.6%, 19.6%)
CIE-LABlab(79.03, -7.60, 34.98)
CIE-LCHlch(79.03, 35.80, 102.26°)
OKLaboklab(81.66% -0.0201 0.0861)
OKLCHoklch(81.66% 0.088 103.1)
XYZxyz(49.4009, 54.9802, 29.1247)
Luminance0.5498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC682 #8289CD
analogous
#CDA082 #CDC682 #AECD82
triadic
#CDC682 #82CDC6 #C682CD
tetradic
#CDC682 #82CDA0 #8289CD #CD82AE
square
#CDC682 #82CDA0 #8289CD #CD82AE
split-complementary
#CDC682 #82AECD #A082CD
monochromatic
#988F3D #BCB256 #CDC682 #DEDAAE #F0EED9

Accessibility & contrast

On white

1.75
#CDC682 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.00
#CDC682 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC682
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC682#FFFFFF#000000##000000
##CDC6821.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C17D
Deuteranopia (green-blind)
#D4C585
Tritanopia (blue-blind)
#D8BDB5
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc682;
/* rgb */ color: rgb(205, 198, 130);
/* oklch */ color: oklch(81.7% 0.088 103.1);
Tailwind
colors: {
  custom: {
    50: '#ddd7a7',
    500: '#cdc682',
    950: '#000000',
  },
}
SCSS
$custom: #cdc682;
$custom-light: #ddd7a7;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc682",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 130
  },
  "hsl": {
    "h": 54.4,
    "s": 42.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.81657,
    "c": 0.08842,
    "h": 103.1
  },
  "luminance": 0.54979
}

Semantic roles & 50–950 ramp

primary
#CDC682
secondary
#555C9E
accent
#3CB630
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC682

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

Preview Lab → · Contrast checker → · Palette generator →

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