#CDC195#CDC195

#CDC195 is a light, moderate yellow. Relative luminance 0.533; OKLCH L 81.0% C 0.060 H 94.6°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#CDC195
RGBrgb(205, 193, 149)
HSLhsl(47, 36%, 69%)
HSVhsv(47, 27%, 80%)
CMYKcmyk(0%, 5.9%, 27.3%, 19.6%)
CIE-LABlab(78.05, -2.63, 23.73)
CIE-LCHlch(78.05, 23.87, 96.32°)
OKLaboklab(80.99% -0.0049 0.06)
OKLCHoklch(80.99% 0.06 94.6)
XYZxyz(49.6719, 53.2901, 36.0974)
Luminance0.5329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC195 #95A1CD
analogous
#CDA595 #CDC195 #BDCD95
triadic
#CDC195 #95CDC1 #C195CD
tetradic
#CDC195 #95CDA5 #95A1CD #CD95BD
square
#CDC195 #95CDA5 #95A1CD #CD95BD
split-complementary
#CDC195 #95BDCD #A595CD
monochromatic
#9D8C4A #B9A96B #CDC195 #E1D9BF #F4F2E8

Accessibility & contrast

On white

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

On black

11.66
#CDC195 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC195
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC195#FFFFFF#000000##000000
##CDC1951.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABF92
Deuteranopia (green-blind)
#CEC396
Tritanopia (blue-blind)
#D6BAB5
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc195;
/* rgb */ color: rgb(205, 193, 149);
/* oklch */ color: oklch(81.0% 0.060 94.6);
Tailwind
colors: {
  custom: {
    50: '#ddd3b4',
    500: '#cdc195',
    950: '#000000',
  },
}
SCSS
$custom: #cdc195;
$custom-light: #ddd3b4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc195",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 149
  },
  "hsl": {
    "h": 47.143,
    "s": 35.897,
    "l": 69.412
  },
  "oklch": {
    "l": 0.80985,
    "c": 0.06021,
    "h": 94.6
  },
  "luminance": 0.53289
}

Semantic roles & 50–950 ramp

primary
#CDC195
secondary
#6471A2
accent
#50AF37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC195

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

Preview Lab → · Contrast checker → · Palette generator →

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