#CDCB97#CDCB97

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

Color values

HEX#CDCB97
RGBrgb(205, 203, 151)
HSLhsl(58, 35%, 70%)
HSVhsv(58, 26%, 80%)
CMYKcmyk(0%, 1%, 26.3%, 19.6%)
CIE-LABlab(80.70, -7.55, 26.27)
CIE-LCHlch(80.70, 27.33, 106.04°)
OKLaboklab(83.09% -0.0189 0.0662)
OKLCHoklch(83.09% 0.069 106)
XYZxyz(52.1188, 57.9262, 37.7075)
Luminance0.5793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB97 #9799CD
analogous
#CDB097 #CDCB97 #B4CD97
triadic
#CDCB97 #97CDCB #CB97CD
tetradic
#CDCB97 #97CDB0 #9799CD #CD97B4
square
#CDCB97 #97CDB0 #9799CD #CD97B4
split-complementary
#CDCB97 #97B4CD #B097CD
monochromatic
#9E9B4C #B9B66E #CDCB97 #E1E0C0 #F5F4EA

Accessibility & contrast

On white

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

On black

12.59
#CDCB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCB97
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCB97#FFFFFF#000000##000000
##CDCB971.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdcb97;
/* rgb */ color: rgb(205, 203, 151);
/* oklch */ color: oklch(83.1% 0.069 106.0);
Tailwind
colors: {
  custom: {
    50: '#dddab6',
    500: '#cdcb97',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb97;
$custom-light: #dddab6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb97",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 151
  },
  "hsl": {
    "h": 57.778,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.83093,
    "c": 0.06882,
    "h": 106
  },
  "luminance": 0.57925
}

Semantic roles & 50–950 ramp

primary
#CDCB97
secondary
#6668A2
accent
#3CAE38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDCB97

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

Preview Lab → · Contrast checker → · Palette generator →

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