#CDC779#CDC779

#CDC779 is a light, moderate yellow. Relative luminance 0.552; OKLCH L 81.7% C 0.100 H 104.6°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#CDC779
RGBrgb(205, 199, 121)
HSLhsl(56, 46%, 64%)
HSVhsv(56, 41%, 80%)
CMYKcmyk(0%, 2.9%, 41%, 19.6%)
CIE-LABlab(79.16, -9.11, 39.74)
CIE-LCHlch(79.16, 40.77, 102.92°)
OKLaboklab(81.72% -0.0251 0.0966)
OKLCHoklch(81.72% 0.1 104.6)
XYZxyz(49.0523, 55.2077, 26.1577)
Luminance0.5521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC779 #797FCD
analogous
#CD9D79 #CDC779 #A9CD79
triadic
#CDC779 #79CDC7 #C779CD
tetradic
#CDC779 #79CD9D #797FCD #CD79A9
square
#CDC779 #79CD9D #797FCD #CD79A9
split-complementary
#CDC779 #79A9CD #9D79CD
monochromatic
#948E37 #BCB44C #CDC779 #DEDAA6 #EEECD2

Accessibility & contrast

On white

1.74
#CDC779 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.04
#CDC779 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC779
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC779#FFFFFF#000000##000000
##CDC7791.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C273
Deuteranopia (green-blind)
#D6C67C
Tritanopia (blue-blind)
#D8BEB4
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc779;
/* rgb */ color: rgb(205, 199, 121);
/* oklch */ color: oklch(81.7% 0.100 104.6);
Tailwind
colors: {
  custom: {
    50: '#ddd7a1',
    500: '#cdc779',
    950: '#000000',
  },
}
SCSS
$custom: #cdc779;
$custom-light: #ddd7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc779",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 121
  },
  "hsl": {
    "h": 55.714,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.81717,
    "c": 0.09978,
    "h": 104.6
  },
  "luminance": 0.55206
}

Semantic roles & 50–950 ramp

primary
#CDC779
secondary
#50559B
accent
#37B92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC779

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

Preview Lab → · Contrast checker → · Palette generator →

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