#CDC379#CDC379

#CDC379 is a light, moderate yellow. Relative luminance 0.534; OKLCH L 80.9% C 0.095 H 101.6°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#CDC379
RGBrgb(205, 195, 121)
HSLhsl(53, 46%, 64%)
HSVhsv(53, 41%, 80%)
CMYKcmyk(0%, 4.9%, 41%, 19.6%)
CIE-LABlab(78.11, -7.06, 38.40)
CIE-LCHlch(78.11, 39.05, 100.41°)
OKLaboklab(80.88% -0.0192 0.0935)
OKLCHoklch(80.88% 0.095 101.6)
XYZxyz(48.1441, 53.3912, 25.8549)
Luminance0.5339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC379 #7983CD
analogous
#CD9979 #CDC379 #ADCD79
triadic
#CDC379 #79CDC3 #C379CD
tetradic
#CDC379 #79CD99 #7983CD #CD79AD
square
#CDC379 #79CD99 #7983CD #CD79AD
split-complementary
#CDC379 #79ADCD #9979CD
monochromatic
#948937 #BCAF4C #CDC379 #DED7A6 #EEEBD2

Accessibility & contrast

On white

1.80
#CDC379 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.68
#CDC379 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC379
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC379#FFFFFF#000000##000000
##CDC3791.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BF73
Deuteranopia (green-blind)
#D3C37C
Tritanopia (blue-blind)
#D9BAB1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc379;
/* rgb */ color: rgb(205, 195, 121);
/* oklch */ color: oklch(80.9% 0.095 101.6);
Tailwind
colors: {
  custom: {
    50: '#ddd5a1',
    500: '#cdc379',
    950: '#000000',
  },
}
SCSS
$custom: #cdc379;
$custom-light: #ddd5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc379",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 121
  },
  "hsl": {
    "h": 52.857,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.8088,
    "c": 0.09548,
    "h": 101.6
  },
  "luminance": 0.5339
}

Semantic roles & 50–950 ramp

primary
#CDC379
secondary
#50599B
accent
#3DB92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC379

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

Preview Lab → · Contrast checker → · Palette generator →

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