#CDC982#CDC982

#CDC982 is a very light, moderate yellow. Relative luminance 0.564; OKLCH L 82.3% C 0.092 H 105.5°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#CDC982
RGBrgb(205, 201, 130)
HSLhsl(57, 43%, 66%)
HSVhsv(57, 37%, 80%)
CMYKcmyk(0%, 2%, 36.6%, 19.6%)
CIE-LABlab(79.82, -9.14, 36.01)
CIE-LCHlch(79.82, 37.15, 104.25°)
OKLaboklab(82.28% -0.0245 0.0885)
OKLCHoklch(82.28% 0.092 105.5)
XYZxyz(50.0934, 56.3652, 29.3555)
Luminance0.5636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC982 #8286CD
analogous
#CDA382 #CDC982 #ABCD82
triadic
#CDC982 #82CDC9 #C982CD
tetradic
#CDC982 #82CDA3 #8286CD #CD82AB
square
#CDC982 #82CDA3 #8286CD #CD82AB
split-complementary
#CDC982 #82ABCD #A382CD
monochromatic
#98933D #BCB656 #CDC982 #DEDCAE #F0EFD9

Accessibility & contrast

On white

1.71
#CDC982 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#CDC982 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC982
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC982#FFFFFF#000000##000000
##CDC9821.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C47D
Deuteranopia (green-blind)
#D7C885
Tritanopia (blue-blind)
#D7C0B7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdc982;
/* rgb */ color: rgb(205, 201, 130);
/* oklch */ color: oklch(82.3% 0.092 105.5);
Tailwind
colors: {
  custom: {
    50: '#ddd9a7',
    500: '#cdc982',
    950: '#000000',
  },
}
SCSS
$custom: #cdc982;
$custom-light: #ddd9a7;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc982",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 130
  },
  "hsl": {
    "h": 56.8,
    "s": 42.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.82284,
    "c": 0.0918,
    "h": 105.5
  },
  "luminance": 0.56364
}

Semantic roles & 50–950 ramp

primary
#CDC982
secondary
#55599E
accent
#37B630
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC982

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

Preview Lab → · Contrast checker → · Palette generator →

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