#CDC499#CDC499

#CDC499 is a light, muted yellow. Relative luminance 0.548; OKLCH L 81.7% C 0.058 H 97.6°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#CDC499
RGBrgb(205, 196, 153)
HSLhsl(50, 34%, 70%)
HSVhsv(50, 25%, 80%)
CMYKcmyk(0%, 4.4%, 25.4%, 19.6%)
CIE-LABlab(78.90, -3.65, 22.78)
CIE-LCHlch(78.90, 23.07, 99.11°)
OKLaboklab(81.69% -0.0077 0.0578)
OKLCHoklch(81.69% 0.058 97.6)
XYZxyz(50.6667, 54.7599, 38.0315)
Luminance0.5476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC499 #99A2CD
analogous
#CDAA99 #CDC499 #BCCD99
triadic
#CDC499 #99CDC4 #C499CD
tetradic
#CDC499 #99CDAA #99A2CD #CD99BC
square
#CDC499 #99CDAA #99A2CD #CD99BC
split-complementary
#CDC499 #99BCCD #AA99CD
monochromatic
#9E904D #B9AC70 #CDC499 #E1DCC2 #F5F3EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC499#FFFFFF#000000##000000
##CDC4991.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)
#CDC196
Deuteranopia (green-blind)
#CFC59A
Tritanopia (blue-blind)
#D5BEB8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc499;
/* rgb */ color: rgb(205, 196, 153);
/* oklch */ color: oklch(81.7% 0.058 97.6);
Tailwind
colors: {
  custom: {
    50: '#dcd5b7',
    500: '#cdc499',
    950: '#000000',
  },
}
SCSS
$custom: #cdc499;
$custom-light: #dcd5b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc499",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 153
  },
  "hsl": {
    "h": 49.615,
    "s": 34.211,
    "l": 70.196
  },
  "oklch": {
    "l": 0.81686,
    "c": 0.05827,
    "h": 97.6
  },
  "luminance": 0.54759
}

Semantic roles & 50–950 ramp

primary
#CDC499
secondary
#6872A2
accent
#4DAD38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC499

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

Preview Lab → · Contrast checker → · Palette generator →

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