#CDC79E#CDC79E

#CDC79E is a very light, muted yellow. Relative luminance 0.563; OKLCH L 82.4% C 0.055 H 100.6°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#CDC79E
RGBrgb(205, 199, 158)
HSLhsl(52, 32%, 71%)
HSVhsv(52, 23%, 80%)
CMYKcmyk(0%, 2.9%, 22.9%, 19.6%)
CIE-LABlab(79.78, -4.51, 21.33)
CIE-LCHlch(79.78, 21.80, 101.94°)
OKLaboklab(82.41% -0.0101 0.0543)
OKLCHoklch(82.41% 0.055 100.6)
XYZxyz(51.7718, 56.2955, 40.4799)
Luminance0.5629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC79E #9EA4CD
analogous
#CDAF9E #CDC79E #BBCD9E
triadic
#CDC79E #9ECDC7 #C79ECD
tetradic
#CDC79E #9ECDAF #9EA4CD #CD9EBB
square
#CDC79E #9ECDAF #9EA4CD #CD9EBB
split-complementary
#CDC79E #9EBBCD #AF9ECD
monochromatic
#9F9552 #B8B076 #CDC79E #E2DEC6 #F5F3EB

Accessibility & contrast

On white

1.71
#CDC79E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.26
#CDC79E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC79E
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC79E#FFFFFF#000000##000000
##CDC79E1.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC49B
Deuteranopia (green-blind)
#D1C79F
Tritanopia (blue-blind)
#D4C1BC
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdc79e;
/* rgb */ color: rgb(205, 199, 158);
/* oklch */ color: oklch(82.4% 0.055 100.6);
Tailwind
colors: {
  custom: {
    50: '#dcd7ba',
    500: '#cdc79e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc79e;
$custom-light: #dcd7ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc79e",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 158
  },
  "hsl": {
    "h": 52.34,
    "s": 31.973,
    "l": 71.176
  },
  "oklch": {
    "l": 0.82412,
    "c": 0.05524,
    "h": 100.6
  },
  "luminance": 0.56295
}

Semantic roles & 50–950 ramp

primary
#CDC79E
secondary
#6D74A2
accent
#49AB3B
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC79E

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

Preview Lab → · Contrast checker → · Palette generator →

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