#CDD178#CDD178

#CDD178 is a very light, moderate yellow. Relative luminance 0.599; OKLCH L 83.8% C 0.112 H 110.8°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#CDD178
RGBrgb(205, 209, 120)
HSLhsl(63, 49%, 65%)
HSVhsv(63, 43%, 82%)
CMYKcmyk(1.9%, 0%, 42.6%, 18%)
CIE-LABlab(81.80, -14.29, 43.56)
CIE-LCHlch(81.80, 45.84, 108.17°)
OKLaboklab(83.81% -0.04 0.1051)
OKLCHoklch(83.81% 0.112 110.8)
XYZxyz(51.3682, 59.9371, 26.6287)
Luminance0.5994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD178 #7C78D1
analogous
#D1A978 #CDD178 #A0D178
triadic
#CDD178 #78CDD1 #D178CD
tetradic
#CDD178 #78D1A9 #7C78D1 #D178A0
square
#CDD178 #78D1A9 #7C78D1 #D178A0
split-complementary
#CDD178 #78A0D1 #A978D1
monochromatic
#969A35 #BCC14A #CDD178 #DEE1A6 #EFF0D3

Accessibility & contrast

On white

1.62
#CDD178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.99
#CDD178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD178
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD178#FFFFFF#000000##000000
##CDD1781.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCA71
Deuteranopia (green-blind)
#DECD7C
Tritanopia (blue-blind)
#D8C7BC
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cdd178;
/* rgb */ color: rgb(205, 209, 120);
/* oklch */ color: oklch(83.8% 0.112 110.8);
Tailwind
colors: {
  custom: {
    50: '#dedfa0',
    500: '#cdd178',
    950: '#000000',
  },
}
SCSS
$custom: #cdd178;
$custom-light: #dedfa0;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd178",
  "rgb": {
    "r": 205,
    "g": 209,
    "b": 120
  },
  "hsl": {
    "h": 62.697,
    "s": 49.171,
    "l": 64.51
  },
  "oklch": {
    "l": 0.83814,
    "c": 0.11246,
    "h": 110.8
  },
  "luminance": 0.59936
}

Semantic roles & 50–950 ramp

primary
#CDD178
secondary
#514E9F
accent
#29BC30
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CDD178

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

Preview Lab → · Contrast checker → · Palette generator →

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