#CDC679#CDC679

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

Color values

HEX#CDC679
RGBrgb(205, 198, 121)
HSLhsl(55, 46%, 64%)
HSVhsv(55, 41%, 80%)
CMYKcmyk(0%, 3.4%, 41%, 19.6%)
CIE-LABlab(78.90, -8.60, 39.41)
CIE-LCHlch(78.90, 40.33, 102.31°)
OKLaboklab(81.51% -0.0236 0.0958)
OKLCHoklch(81.51% 0.099 103.8)
XYZxyz(48.8230, 54.7491, 26.0812)
Luminance0.5475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC679 #7980CD
analogous
#CD9C79 #CDC679 #AACD79
triadic
#CDC679 #79CDC6 #C679CD
tetradic
#CDC679 #79CD9C #7980CD #CD79AA
square
#CDC679 #79CD9C #7980CD #CD79AA
split-complementary
#CDC679 #79AACD #9C79CD
monochromatic
#948D37 #BCB34C #CDC679 #DED9A6 #EEECD2

Accessibility & contrast

On white

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

On black

11.95
#CDC679 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC679
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC679#FFFFFF#000000##000000
##CDC6791.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C173
Deuteranopia (green-blind)
#D5C57C
Tritanopia (blue-blind)
#D8BDB3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc679;
/* rgb */ color: rgb(205, 198, 121);
/* oklch */ color: oklch(81.5% 0.099 103.8);
Tailwind
colors: {
  custom: {
    50: '#ddd7a1',
    500: '#cdc679',
    950: '#000000',
  },
}
SCSS
$custom: #cdc679;
$custom-light: #ddd7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc679",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 121
  },
  "hsl": {
    "h": 55,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.81508,
    "c": 0.09869,
    "h": 103.8
  },
  "luminance": 0.54748
}

Semantic roles & 50–950 ramp

primary
#CDC679
secondary
#50569B
accent
#38B92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC679

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

Preview Lab → · Contrast checker → · Palette generator →

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