#CDC580#CDC580

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

Color values

HEX#CDC580
RGBrgb(205, 197, 128)
HSLhsl(54, 44%, 65%)
HSVhsv(54, 38%, 80%)
CMYKcmyk(0%, 3.9%, 37.6%, 19.6%)
CIE-LABlab(78.74, -7.32, 35.63)
CIE-LCHlch(78.74, 36.37, 101.60°)
OKLaboklab(81.41% -0.0194 0.0875)
OKLCHoklch(81.41% 0.09 102.5)
XYZxyz(49.0401, 54.4714, 28.3486)
Luminance0.5447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC580 #8088CD
analogous
#CD9E80 #CDC580 #AFCD80
triadic
#CDC580 #80CDC5 #C580CD
tetradic
#CDC580 #80CD9E #8088CD #CD80AF
square
#CDC580 #80CD9E #8088CD #CD80AF
split-complementary
#CDC580 #80AFCD #9E80CD
monochromatic
#978E3B #BCB154 #CDC580 #DED9AC #F0EDD8

Accessibility & contrast

On white

1.77
#CDC580 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.89
#CDC580 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC580
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC580#FFFFFF#000000##000000
##CDC5801.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc580;
/* rgb */ color: rgb(205, 197, 128);
/* oklch */ color: oklch(81.4% 0.090 102.5);
Tailwind
colors: {
  custom: {
    50: '#ddd6a5',
    500: '#cdc580',
    950: '#000000',
  },
}
SCSS
$custom: #cdc580;
$custom-light: #ddd6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc580",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 128
  },
  "hsl": {
    "h": 53.766,
    "s": 43.503,
    "l": 65.294
  },
  "oklch": {
    "l": 0.81414,
    "c": 0.08964,
    "h": 102.5
  },
  "luminance": 0.5447
}

Semantic roles & 50–950 ramp

primary
#CDC580
secondary
#545C9D
accent
#3DB72F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC580

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

Preview Lab → · Contrast checker → · Palette generator →

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