#CDC078#CDC078

#CDC078 is a light, moderate yellow. Relative luminance 0.520; OKLCH L 80.2% C 0.094 H 99.3°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#CDC078
RGBrgb(205, 192, 120)
HSLhsl(51, 46%, 64%)
HSVhsv(51, 41%, 80%)
CMYKcmyk(0%, 6.3%, 41.5%, 19.6%)
CIE-LABlab(77.30, -5.61, 37.89)
CIE-LCHlch(77.30, 38.30, 98.42°)
OKLaboklab(80.24% -0.0151 0.0923)
OKLCHoklch(80.24% 0.094 99.3)
XYZxyz(47.4176, 52.0359, 25.3118)
Luminance0.5203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC078 #7885CD
analogous
#CD9578 #CDC078 #AFCD78
triadic
#CDC078 #78CDC0 #C078CD
tetradic
#CDC078 #78CD95 #7885CD #CD78AF
square
#CDC078 #78CD95 #7885CD #CD78AF
split-complementary
#CDC078 #78AFCD #9578CD
monochromatic
#948637 #BCAB4B #CDC078 #DED5A5 #EEEAD1

Accessibility & contrast

On white

1.84
#CDC078 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#CDC078 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC078
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC078#FFFFFF#000000##000000
##CDC0781.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBC73
Deuteranopia (green-blind)
#D1C17B
Tritanopia (blue-blind)
#D9B6AE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc078;
/* rgb */ color: rgb(205, 192, 120);
/* oklch */ color: oklch(80.2% 0.094 99.3);
Tailwind
colors: {
  custom: {
    50: '#ddd2a0',
    500: '#cdc078',
    950: '#000000',
  },
}
SCSS
$custom: #cdc078;
$custom-light: #ddd2a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc078",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 120
  },
  "hsl": {
    "h": 50.824,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.8024,
    "c": 0.09354,
    "h": 99.3
  },
  "luminance": 0.52034
}

Semantic roles & 50–950 ramp

primary
#CDC078
secondary
#4F5B9A
accent
#42B92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC078

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

Preview Lab → · Contrast checker → · Palette generator →

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