#CDCB96#CDCB96

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

Color values

HEX#CDCB96
RGBrgb(205, 203, 150)
HSLhsl(58, 35%, 70%)
HSVhsv(58, 27%, 80%)
CMYKcmyk(0%, 1%, 26.8%, 19.6%)
CIE-LABlab(80.68, -7.68, 26.77)
CIE-LCHlch(80.68, 27.85, 106.02°)
OKLaboklab(83.07% -0.0193 0.0673)
OKLCHoklch(83.07% 0.07 106)
XYZxyz(52.0379, 57.8938, 37.2816)
Luminance0.5789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB96 #9698CD
analogous
#CDB096 #CDCB96 #B4CD96
triadic
#CDCB96 #96CDCB #CB96CD
tetradic
#CDCB96 #96CDB0 #9698CD #CD96B4
square
#CDCB96 #96CDB0 #9698CD #CD96B4
split-complementary
#CDCB96 #96B4CD #B096CD
monochromatic
#9E9B4B #B9B66D #CDCB96 #E1E0BF #F4F4E9

Accessibility & contrast

On white

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

On black

12.58
#CDCB96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCB96
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCB96#FFFFFF#000000##000000
##CDCB961.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdcb96;
/* rgb */ color: rgb(205, 203, 150);
/* oklch */ color: oklch(83.1% 0.070 106.0);
Tailwind
colors: {
  custom: {
    50: '#dddab5',
    500: '#cdcb96',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb96;
$custom-light: #dddab5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb96",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 150
  },
  "hsl": {
    "h": 57.818,
    "s": 35.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.83073,
    "c": 0.07007,
    "h": 106
  },
  "luminance": 0.57893
}

Semantic roles & 50–950 ramp

primary
#CDCB96
secondary
#6567A2
accent
#3BAE37
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDCB96

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

Preview Lab → · Contrast checker → · Palette generator →

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