#CDC995#CDC995

#CDC995 is a very light, moderate yellow. Relative luminance 0.569; OKLCH L 82.6% C 0.069 H 104.1°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#CDC995
RGBrgb(205, 201, 149)
HSLhsl(56, 36%, 69%)
HSVhsv(56, 27%, 80%)
CMYKcmyk(0%, 2%, 27.3%, 19.6%)
CIE-LABlab(80.14, -6.79, 26.56)
CIE-LCHlch(80.14, 27.42, 104.33°)
OKLaboklab(82.64% -0.0168 0.0668)
OKLCHoklch(82.64% 0.069 104.1)
XYZxyz(51.4885, 56.9233, 36.7029)
Luminance0.5692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC995 #9599CD
analogous
#CDAD95 #CDC995 #B5CD95
triadic
#CDC995 #95CDC9 #C995CD
tetradic
#CDC995 #95CDAD #9599CD #CD95B5
square
#CDC995 #95CDAD #9599CD #CD95B5
split-complementary
#CDC995 #95B5CD #AD95CD
monochromatic
#9D974A #B9B46B #CDC995 #E1DEBF #F4F3E8

Accessibility & contrast

On white

1.70
#CDC995 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.38
#CDC995 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC995
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC995#FFFFFF#000000##000000
##CDC9951.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C592
Deuteranopia (green-blind)
#D4C897
Tritanopia (blue-blind)
#D5C2BB
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdc995;
/* rgb */ color: rgb(205, 201, 149);
/* oklch */ color: oklch(82.6% 0.069 104.1);
Tailwind
colors: {
  custom: {
    50: '#ddd9b4',
    500: '#cdc995',
    950: '#000000',
  },
}
SCSS
$custom: #cdc995;
$custom-light: #ddd9b4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc995",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 149
  },
  "hsl": {
    "h": 55.714,
    "s": 35.897,
    "l": 69.412
  },
  "oklch": {
    "l": 0.82637,
    "c": 0.06891,
    "h": 104.1
  },
  "luminance": 0.56922
}

Semantic roles & 50–950 ramp

primary
#CDC995
secondary
#6468A2
accent
#3FAF37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC995

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

Preview Lab → · Contrast checker → · Palette generator →

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