#CDC280#CDC280

#CDC280 is a light, moderate yellow. Relative luminance 0.531; OKLCH L 80.8% C 0.086 H 99.9°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#CDC280
RGBrgb(205, 194, 128)
HSLhsl(51, 44%, 65%)
HSVhsv(51, 38%, 80%)
CMYKcmyk(0%, 5.4%, 37.6%, 19.6%)
CIE-LABlab(77.95, -5.76, 34.61)
CIE-LCHlch(77.95, 35.08, 99.46°)
OKLaboklab(80.79% -0.0149 0.0852)
OKLCHoklch(80.79% 0.086 99.9)
XYZxyz(48.3657, 53.1226, 28.1238)
Luminance0.5312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC280 #808BCD
analogous
#CD9C80 #CDC280 #B1CD80
triadic
#CDC280 #80CDC2 #C280CD
tetradic
#CDC280 #80CD9C #808BCD #CD80B1
square
#CDC280 #80CD9C #808BCD #CD80B1
split-complementary
#CDC280 #80B1CD #9C80CD
monochromatic
#978A3B #BCAD54 #CDC280 #DED7AC #F0ECD8

Accessibility & contrast

On white

1.81
#CDC280 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#CDC280 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC280
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC280#FFFFFF#000000##000000
##CDC2801.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBE7B
Deuteranopia (green-blind)
#D1C382
Tritanopia (blue-blind)
#D8B9B1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc280;
/* rgb */ color: rgb(205, 194, 128);
/* oklch */ color: oklch(80.8% 0.086 99.9);
Tailwind
colors: {
  custom: {
    50: '#ddd4a5',
    500: '#cdc280',
    950: '#000000',
  },
}
SCSS
$custom: #cdc280;
$custom-light: #ddd4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc280",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 128
  },
  "hsl": {
    "h": 51.429,
    "s": 43.503,
    "l": 65.294
  },
  "oklch": {
    "l": 0.80789,
    "c": 0.08646,
    "h": 99.9
  },
  "luminance": 0.53121
}

Semantic roles & 50–950 ramp

primary
#CDC280
secondary
#545E9D
accent
#42B72F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC280

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

Preview Lab → · Contrast checker → · Palette generator →

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