#CDC678#CDC678

#CDC678 is a light, moderate yellow. Relative luminance 0.547; OKLCH L 81.5% C 0.100 H 103.9°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#CDC678
RGBrgb(205, 198, 120)
HSLhsl(55, 46%, 64%)
HSVhsv(55, 41%, 80%)
CMYKcmyk(0%, 3.4%, 41.5%, 19.6%)
CIE-LABlab(78.88, -8.71, 39.89)
CIE-LCHlch(78.88, 40.83, 102.31°)
OKLaboklab(81.49% -0.024 0.0969)
OKLCHoklch(81.49% 0.1 103.9)
XYZxyz(48.7620, 54.7247, 25.7599)
Luminance0.5472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC678 #787FCD
analogous
#CD9B78 #CDC678 #A9CD78
triadic
#CDC678 #78CDC6 #C678CD
tetradic
#CDC678 #78CD9B #787FCD #CD78A9
square
#CDC678 #78CD9B #787FCD #CD78A9
split-complementary
#CDC678 #78A9CD #9B78CD
monochromatic
#948C37 #BCB34B #CDC678 #DED9A5 #EEECD1

Accessibility & contrast

On white

1.76
#CDC678 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#CDC678 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC678
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC678#FFFFFF#000000##000000
##CDC6781.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C172
Deuteranopia (green-blind)
#D5C57B
Tritanopia (blue-blind)
#D8BCB3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc678;
/* rgb */ color: rgb(205, 198, 120);
/* oklch */ color: oklch(81.5% 0.100 103.9);
Tailwind
colors: {
  custom: {
    50: '#ddd7a0',
    500: '#cdc678',
    950: '#000000',
  },
}
SCSS
$custom: #cdc678;
$custom-light: #ddd7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc678",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 120
  },
  "hsl": {
    "h": 55.059,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.81492,
    "c": 0.0998,
    "h": 103.9
  },
  "luminance": 0.54723
}

Semantic roles & 50–950 ramp

primary
#CDC678
secondary
#4F559A
accent
#38B92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC678

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

Preview Lab → · Contrast checker → · Palette generator →

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