#CDC780#CDC780

#CDC780 is a light, moderate yellow. Relative luminance 0.554; OKLCH L 81.8% C 0.092 H 104.1°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#CDC780
RGBrgb(205, 199, 128)
HSLhsl(55, 44%, 65%)
HSVhsv(55, 38%, 80%)
CMYKcmyk(0%, 2.9%, 37.6%, 19.6%)
CIE-LABlab(79.26, -8.35, 36.31)
CIE-LCHlch(79.26, 37.26, 102.95°)
OKLaboklab(81.83% -0.0223 0.0891)
OKLCHoklch(81.83% 0.092 104.1)
XYZxyz(49.4973, 55.3857, 28.5010)
Luminance0.5538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC780 #8086CD
analogous
#CDA180 #CDC780 #ACCD80
triadic
#CDC780 #80CDC7 #C780CD
tetradic
#CDC780 #80CDA1 #8086CD #CD80AC
square
#CDC780 #80CDA1 #8086CD #CD80AC
split-complementary
#CDC780 #80ACCD #A180CD
monochromatic
#97903B #BCB454 #CDC780 #DEDAAC #F0EED8

Accessibility & contrast

On white

1.74
#CDC780 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.08
#CDC780 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC780
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC780#FFFFFF#000000##000000
##CDC7801.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C27B
Deuteranopia (green-blind)
#D5C683
Tritanopia (blue-blind)
#D8BEB5
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc780;
/* rgb */ color: rgb(205, 199, 128);
/* oklch */ color: oklch(81.8% 0.092 104.1);
Tailwind
colors: {
  custom: {
    50: '#ddd7a5',
    500: '#cdc780',
    950: '#000000',
  },
}
SCSS
$custom: #cdc780;
$custom-light: #ddd7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc780",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 128
  },
  "hsl": {
    "h": 55.325,
    "s": 43.503,
    "l": 65.294
  },
  "oklch": {
    "l": 0.81832,
    "c": 0.09185,
    "h": 104.1
  },
  "luminance": 0.55384
}

Semantic roles & 50–950 ramp

primary
#CDC780
secondary
#545A9D
accent
#39B72F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC780

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

Preview Lab → · Contrast checker → · Palette generator →

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