#CDC479#CDC479

#CDC479 is a light, moderate yellow. Relative luminance 0.538; OKLCH L 81.1% C 0.097 H 102.4°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#CDC479
RGBrgb(205, 196, 121)
HSLhsl(54, 46%, 64%)
HSVhsv(54, 41%, 80%)
CMYKcmyk(0%, 4.4%, 41%, 19.6%)
CIE-LABlab(78.37, -7.57, 38.74)
CIE-LCHlch(78.37, 39.47, 101.06°)
OKLaboklab(81.09% -0.0207 0.0943)
OKLCHoklch(81.09% 0.097 102.4)
XYZxyz(48.3689, 53.8408, 25.9298)
Luminance0.5384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC479 #7982CD
analogous
#CD9A79 #CDC479 #ACCD79
triadic
#CDC479 #79CDC4 #C479CD
tetradic
#CDC479 #79CD9A #7982CD #CD79AC
square
#CDC479 #79CD9A #7982CD #CD79AC
split-complementary
#CDC479 #79ACCD #9A79CD
monochromatic
#948A37 #BCB04C #CDC479 #DED8A6 #EEEBD2

Accessibility & contrast

On white

1.78
#CDC479 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#CDC479 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC479
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC479#FFFFFF#000000##000000
##CDC4791.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BF73
Deuteranopia (green-blind)
#D4C47C
Tritanopia (blue-blind)
#D8BBB2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc479;
/* rgb */ color: rgb(205, 196, 121);
/* oklch */ color: oklch(81.1% 0.097 102.4);
Tailwind
colors: {
  custom: {
    50: '#ddd5a1',
    500: '#cdc479',
    950: '#000000',
  },
}
SCSS
$custom: #cdc479;
$custom-light: #ddd5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc479",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 121
  },
  "hsl": {
    "h": 53.571,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.81089,
    "c": 0.09653,
    "h": 102.4
  },
  "luminance": 0.53839
}

Semantic roles & 50–950 ramp

primary
#CDC479
secondary
#50589B
accent
#3CB92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC479

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

Preview Lab → · Contrast checker → · Palette generator →

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