#CDC582#CDC582

#CDC582 is a light, moderate yellow. Relative luminance 0.545; OKLCH L 81.4% C 0.087 H 102.3°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#CDC582
RGBrgb(205, 197, 130)
HSLhsl(54, 43%, 66%)
HSVhsv(54, 37%, 80%)
CMYKcmyk(0%, 3.9%, 36.6%, 19.6%)
CIE-LABlab(78.77, -7.09, 34.64)
CIE-LCHlch(78.77, 35.36, 101.56°)
OKLaboklab(81.45% -0.0186 0.0853)
OKLCHoklch(81.45% 0.087 102.3)
XYZxyz(49.1731, 54.5246, 29.0487)
Luminance0.5452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC582 #828ACD
analogous
#CD9F82 #CDC582 #AFCD82
triadic
#CDC582 #82CDC5 #C582CD
tetradic
#CDC582 #82CD9F #828ACD #CD82AF
square
#CDC582 #82CD9F #828ACD #CD82AF
split-complementary
#CDC582 #82AFCD #9F82CD
monochromatic
#988E3D #BCB156 #CDC582 #DED9AE #F0EED9

Accessibility & contrast

On white

1.76
#CDC582 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#CDC582 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC582
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC582#FFFFFF#000000##000000
##CDC5821.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C17D
Deuteranopia (green-blind)
#D3C585
Tritanopia (blue-blind)
#D8BCB4
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc582;
/* rgb */ color: rgb(205, 197, 130);
/* oklch */ color: oklch(81.4% 0.087 102.3);
Tailwind
colors: {
  custom: {
    50: '#ddd6a7',
    500: '#cdc582',
    950: '#000000',
  },
}
SCSS
$custom: #cdc582;
$custom-light: #ddd6a7;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc582",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 130
  },
  "hsl": {
    "h": 53.6,
    "s": 42.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.81448,
    "c": 0.08732,
    "h": 102.3
  },
  "luminance": 0.54523
}

Semantic roles & 50–950 ramp

primary
#CDC582
secondary
#555D9E
accent
#3EB630
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC582

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

Preview Lab → · Contrast checker → · Palette generator →

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