#CDC378#CDC378

#CDC378 is a light, moderate yellow. Relative luminance 0.534; OKLCH L 80.9% C 0.097 H 101.7°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#CDC378
RGBrgb(205, 195, 120)
HSLhsl(53, 46%, 64%)
HSVhsv(53, 41%, 80%)
CMYKcmyk(0%, 4.9%, 41.5%, 19.6%)
CIE-LABlab(78.09, -7.16, 38.89)
CIE-LCHlch(78.09, 39.55, 100.44°)
OKLaboklab(80.86% -0.0195 0.0946)
OKLCHoklch(80.86% 0.097 101.7)
XYZxyz(48.0831, 53.3668, 25.5336)
Luminance0.5336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC378 #7882CD
analogous
#CD9878 #CDC378 #ACCD78
triadic
#CDC378 #78CDC3 #C378CD
tetradic
#CDC378 #78CD98 #7882CD #CD78AC
square
#CDC378 #78CD98 #7882CD #CD78AC
split-complementary
#CDC378 #78ACCD #9878CD
monochromatic
#948937 #BCAF4B #CDC378 #DED7A5 #EEEBD1

Accessibility & contrast

On white

1.80
#CDC378 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#CDC378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC378
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC378#FFFFFF#000000##000000
##CDC3781.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BE72
Deuteranopia (green-blind)
#D3C37B
Tritanopia (blue-blind)
#D9B9B1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc378;
/* rgb */ color: rgb(205, 195, 120);
/* oklch */ color: oklch(80.9% 0.097 101.7);
Tailwind
colors: {
  custom: {
    50: '#ddd5a0',
    500: '#cdc378',
    950: '#000000',
  },
}
SCSS
$custom: #cdc378;
$custom-light: #ddd5a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc378",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 120
  },
  "hsl": {
    "h": 52.941,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.80864,
    "c": 0.0966,
    "h": 101.7
  },
  "luminance": 0.53365
}

Semantic roles & 50–950 ramp

primary
#CDC378
secondary
#4F589A
accent
#3DB92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC378

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

Preview Lab → · Contrast checker → · Palette generator →

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