#CDCB95#CDCB95

#CDCB95 is a very light, moderate yellow. Relative luminance 0.579; OKLCH L 83.1% C 0.071 H 106.1°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#CDCB95
RGBrgb(205, 203, 149)
HSLhsl(58, 36%, 69%)
HSVhsv(58, 27%, 80%)
CMYKcmyk(0%, 1%, 27.3%, 19.6%)
CIE-LABlab(80.66, -7.82, 27.27)
CIE-LCHlch(80.66, 28.37, 106.00°)
OKLaboklab(83.05% -0.0197 0.0685)
OKLCHoklch(83.05% 0.071 106.1)
XYZxyz(51.9577, 57.8618, 36.8593)
Luminance0.5786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB95 #9597CD
analogous
#CDAF95 #CDCB95 #B3CD95
triadic
#CDCB95 #95CDCB #CB95CD
tetradic
#CDCB95 #95CDAF #9597CD #CD95B3
square
#CDCB95 #95CDAF #9597CD #CD95B3
split-complementary
#CDCB95 #95B3CD #AF95CD
monochromatic
#9D9A4A #B9B76B #CDCB95 #E1DFBF #F4F4E8

Accessibility & contrast

On white

1.67
#CDCB95 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.57
#CDCB95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCB95
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCB95#FFFFFF#000000##000000
##CDCB951.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C791
Deuteranopia (green-blind)
#D6C997
Tritanopia (blue-blind)
#D5C4BD
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcb95;
/* rgb */ color: rgb(205, 203, 149);
/* oklch */ color: oklch(83.1% 0.071 106.1);
Tailwind
colors: {
  custom: {
    50: '#dddab4',
    500: '#cdcb95',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb95;
$custom-light: #dddab4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb95",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 149
  },
  "hsl": {
    "h": 57.857,
    "s": 35.897,
    "l": 69.412
  },
  "oklch": {
    "l": 0.83053,
    "c": 0.07132,
    "h": 106.1
  },
  "luminance": 0.57861
}

Semantic roles & 50–950 ramp

primary
#CDCB95
secondary
#6466A2
accent
#3BAF37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDCB95

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

Preview Lab → · Contrast checker → · Palette generator →

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