#CDCD80#CDCD80

#CDCD80 is a very light, moderate yellow. Relative luminance 0.582; OKLCH L 83.1% C 0.099 H 108.4°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#CDCD80
RGBrgb(205, 205, 128)
HSLhsl(60, 44%, 65%)
HSVhsv(60, 38%, 80%)
CMYKcmyk(0%, 0%, 37.6%, 19.6%)
CIE-LABlab(80.85, -11.41, 38.35)
CIE-LCHlch(80.85, 40.01, 106.57°)
OKLaboklab(83.09% -0.0311 0.0938)
OKLCHoklch(83.09% 0.099 108.4)
XYZxyz(50.9051, 58.2013, 28.9703)
Luminance0.5820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD80 #8080CD
analogous
#CDA680 #CDCD80 #A6CD80
triadic
#CDCD80 #80CDCD #CD80CD
tetradic
#CDCD80 #80CDA6 #8080CD #CD80A6
square
#CDCD80 #80CDA6 #8080CD #CD80A6
split-complementary
#CDCD80 #80A6CD #A680CD
monochromatic
#97973B #BCBC54 #CDCD80 #DEDEAC #F0F0D8

Accessibility & contrast

On white

1.66
#CDCD80 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#CDCD80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD80
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD80#FFFFFF#000000##000000
##CDCD801.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C77A
Deuteranopia (green-blind)
#DACA83
Tritanopia (blue-blind)
#D7C4BA
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdcd80;
/* rgb */ color: rgb(205, 205, 128);
/* oklch */ color: oklch(83.1% 0.099 108.4);
Tailwind
colors: {
  custom: {
    50: '#dddca6',
    500: '#cdcd80',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd80;
$custom-light: #dddca6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd80",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 128
  },
  "hsl": {
    "h": 60,
    "s": 43.503,
    "l": 65.294
  },
  "oklch": {
    "l": 0.83092,
    "c": 0.09879,
    "h": 108.4
  },
  "luminance": 0.582
}

Semantic roles & 50–950 ramp

primary
#CDCD80
secondary
#54549D
accent
#2FB72F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CDCD80

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

Preview Lab → · Contrast checker → · Palette generator →

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