#CDC080#CDC080

#CDC080 is a light, moderate yellow. Relative luminance 0.522; OKLCH L 80.4% C 0.084 H 98.1°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#CDC080
RGBrgb(205, 192, 128)
HSLhsl(50, 44%, 65%)
HSVhsv(50, 38%, 80%)
CMYKcmyk(0%, 6.3%, 37.6%, 19.6%)
CIE-LABlab(77.42, -4.72, 33.93)
CIE-LCHlch(77.42, 34.25, 97.93°)
OKLaboklab(80.38% -0.0119 0.0836)
OKLCHoklch(80.38% 0.084 98.1)
XYZxyz(47.9236, 52.2383, 27.9764)
Luminance0.5224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC080 #808DCD
analogous
#CD9980 #CDC080 #B3CD80
triadic
#CDC080 #80CDC0 #C080CD
tetradic
#CDC080 #80CD99 #808DCD #CD80B3
square
#CDC080 #80CD99 #808DCD #CD80B3
split-complementary
#CDC080 #80B3CD #9980CD
monochromatic
#97883B #BCAA54 #CDC080 #DED6AC #F0ECD8

Accessibility & contrast

On white

1.83
#CDC080 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#CDC080 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC080
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC080#FFFFFF#000000##000000
##CDC0801.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBC7B
Deuteranopia (green-blind)
#D0C182
Tritanopia (blue-blind)
#D8B7B0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc080;
/* rgb */ color: rgb(205, 192, 128);
/* oklch */ color: oklch(80.4% 0.084 98.1);
Tailwind
colors: {
  custom: {
    50: '#ddd2a5',
    500: '#cdc080',
    950: '#000000',
  },
}
SCSS
$custom: #cdc080;
$custom-light: #ddd2a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc080",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 128
  },
  "hsl": {
    "h": 49.87,
    "s": 43.503,
    "l": 65.294
  },
  "oklch": {
    "l": 0.80375,
    "c": 0.08443,
    "h": 98.1
  },
  "luminance": 0.52237
}

Semantic roles & 50–950 ramp

primary
#CDC080
secondary
#54609D
accent
#46B72F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC080

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

Preview Lab → · Contrast checker → · Palette generator →

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