#CDC079#CDC079

#CDC079 is a light, moderate yellow. Relative luminance 0.521; OKLCH L 80.3% C 0.092 H 99.1°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#CDC079
RGBrgb(205, 192, 121)
HSLhsl(51, 46%, 64%)
HSVhsv(51, 41%, 80%)
CMYKcmyk(0%, 6.3%, 41%, 19.6%)
CIE-LABlab(77.32, -5.50, 37.40)
CIE-LCHlch(77.32, 37.80, 98.37°)
OKLaboklab(80.26% -0.0147 0.0913)
OKLCHoklch(80.26% 0.092 99.1)
XYZxyz(47.4787, 52.0603, 25.6331)
Luminance0.5206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC079 #7986CD
analogous
#CD9679 #CDC079 #B0CD79
triadic
#CDC079 #79CDC0 #C079CD
tetradic
#CDC079 #79CD96 #7986CD #CD79B0
square
#CDC079 #79CD96 #7986CD #CD79B0
split-complementary
#CDC079 #79B0CD #9679CD
monochromatic
#948637 #BCAB4C #CDC079 #DED5A6 #EEEAD2

Accessibility & contrast

On white

1.84
#CDC079 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#CDC079 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC079
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC079#FFFFFF#000000##000000
##CDC0791.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBC74
Deuteranopia (green-blind)
#D1C17C
Tritanopia (blue-blind)
#D9B7AE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc079;
/* rgb */ color: rgb(205, 192, 121);
/* oklch */ color: oklch(80.3% 0.092 99.1);
Tailwind
colors: {
  custom: {
    50: '#ddd2a0',
    500: '#cdc079',
    950: '#000000',
  },
}
SCSS
$custom: #cdc079;
$custom-light: #ddd2a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc079",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 121
  },
  "hsl": {
    "h": 50.714,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.80256,
    "c": 0.09242,
    "h": 99.1
  },
  "luminance": 0.52059
}

Semantic roles & 50–950 ramp

primary
#CDC079
secondary
#505B9B
accent
#42B92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC079

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

Preview Lab → · Contrast checker → · Palette generator →

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