#CDC495#CDC495

#CDC495 is a light, moderate yellow. Relative luminance 0.546; OKLCH L 81.6% C 0.063 H 98.5°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#CDC495
RGBrgb(205, 196, 149)
HSLhsl(50, 36%, 69%)
HSVhsv(50, 27%, 80%)
CMYKcmyk(0%, 4.4%, 27.3%, 19.6%)
CIE-LABlab(78.83, -4.20, 24.79)
CIE-LCHlch(78.83, 25.14, 99.60°)
OKLaboklab(81.6% -0.0094 0.0626)
OKLCHoklch(81.6% 0.063 98.5)
XYZxyz(50.3418, 54.6300, 36.3207)
Luminance0.5463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC495 #959ECD
analogous
#CDA895 #CDC495 #BACD95
triadic
#CDC495 #95CDC4 #C495CD
tetradic
#CDC495 #95CDA8 #959ECD #CD95BA
square
#CDC495 #95CDA8 #959ECD #CD95BA
split-complementary
#CDC495 #95BACD #A895CD
monochromatic
#9D904A #B9AD6B #CDC495 #E1DBBF #F4F2E8

Accessibility & contrast

On white

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

On black

11.93
#CDC495 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC495
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC495#FFFFFF#000000##000000
##CDC4951.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDC192
Deuteranopia (green-blind)
#D0C597
Tritanopia (blue-blind)
#D6BDB7
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc495;
/* rgb */ color: rgb(205, 196, 149);
/* oklch */ color: oklch(81.6% 0.063 98.5);
Tailwind
colors: {
  custom: {
    50: '#ddd5b4',
    500: '#cdc495',
    950: '#000000',
  },
}
SCSS
$custom: #cdc495;
$custom-light: #ddd5b4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc495",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 149
  },
  "hsl": {
    "h": 50.357,
    "s": 35.897,
    "l": 69.412
  },
  "oklch": {
    "l": 0.81602,
    "c": 0.06328,
    "h": 98.5
  },
  "luminance": 0.54629
}

Semantic roles & 50–950 ramp

primary
#CDC495
secondary
#646EA2
accent
#4AAF37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC495

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

Preview Lab → · Contrast checker → · Palette generator →

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