#CDCE78#CDCE78

#CDCE78 is a very light, moderate yellow. Relative luminance 0.585; OKLCH L 83.2% C 0.109 H 109.1°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#CDCE78
RGBrgb(205, 206, 120)
HSLhsl(61, 47%, 64%)
HSVhsv(61, 42%, 81%)
CMYKcmyk(0.5%, 0%, 41.7%, 19.2%)
CIE-LABlab(81.00, -12.78, 42.56)
CIE-LCHlch(81.00, 44.44, 106.72°)
OKLaboklab(83.18% -0.0357 0.1029)
OKLCHoklch(83.18% 0.109 109.1)
XYZxyz(50.6391, 58.4788, 26.3856)
Luminance0.5848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCE78 #7978CE
analogous
#CEA478 #CDCE78 #A2CE78
triadic
#CDCE78 #78CDCE #CE78CD
tetradic
#CDCE78 #78CEA4 #7978CE #CE78A2
square
#CDCE78 #78CEA4 #7978CE #CE78A2
split-complementary
#CDCE78 #78A2CE #A478CE
monochromatic
#949536 #BCBE4B #CDCE78 #DEDEA5 #EEEFD2

Accessibility & contrast

On white

1.65
#CDCE78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.70
#CDCE78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCE78
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCE78#FFFFFF#000000##000000
##CDCE781.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC771
Deuteranopia (green-blind)
#DCCB7C
Tritanopia (blue-blind)
#D8C4B9
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdce78;
/* rgb */ color: rgb(205, 206, 120);
/* oklch */ color: oklch(83.2% 0.109 109.1);
Tailwind
colors: {
  custom: {
    50: '#dedca0',
    500: '#cdce78',
    950: '#000000',
  },
}
SCSS
$custom: #cdce78;
$custom-light: #dedca0;
$custom-dark: #000000;
JSON
{
  "hex": "#cdce78",
  "rgb": {
    "r": 205,
    "g": 206,
    "b": 120
  },
  "hsl": {
    "h": 60.698,
    "s": 46.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.83178,
    "c": 0.10889,
    "h": 109.1
  },
  "luminance": 0.58478
}

Semantic roles & 50–950 ramp

primary
#CDCE78
secondary
#504F9B
accent
#2CBA2D
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CDCE78

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

Preview Lab → · Contrast checker → · Palette generator →

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