#CDC980#CDC980

#CDC980 is a very light, moderate yellow. Relative luminance 0.563; OKLCH L 82.3% C 0.094 H 105.6°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#CDC980
RGBrgb(205, 201, 128)
HSLhsl(57, 44%, 65%)
HSVhsv(57, 38%, 80%)
CMYKcmyk(0%, 2%, 37.6%, 19.6%)
CIE-LABlab(79.79, -9.37, 36.99)
CIE-LCHlch(79.79, 38.16, 104.22°)
OKLaboklab(82.25% -0.0253 0.0907)
OKLCHoklch(82.25% 0.094 105.6)
XYZxyz(49.9605, 56.3121, 28.6554)
Luminance0.5631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC980 #8084CD
analogous
#CDA280 #CDC980 #AACD80
triadic
#CDC980 #80CDC9 #C980CD
tetradic
#CDC980 #80CDA2 #8084CD #CD80AA
square
#CDC980 #80CDA2 #8084CD #CD80AA
split-complementary
#CDC980 #80AACD #A280CD
monochromatic
#97923B #BCB654 #CDC980 #DEDCAC #F0EED8

Accessibility & contrast

On white

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

On black

12.26
#CDC980 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC980
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC980#FFFFFF#000000##000000
##CDC9801.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc980;
/* rgb */ color: rgb(205, 201, 128);
/* oklch */ color: oklch(82.3% 0.094 105.6);
Tailwind
colors: {
  custom: {
    50: '#ddd9a6',
    500: '#cdc980',
    950: '#000000',
  },
}
SCSS
$custom: #cdc980;
$custom-light: #ddd9a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc980",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 128
  },
  "hsl": {
    "h": 56.883,
    "s": 43.503,
    "l": 65.294
  },
  "oklch": {
    "l": 0.82251,
    "c": 0.09411,
    "h": 105.6
  },
  "luminance": 0.56311
}

Semantic roles & 50–950 ramp

primary
#CDC980
secondary
#54589D
accent
#36B72F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC980

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

Preview Lab → · Contrast checker → · Palette generator →

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