#CDCB9D#CDCB9D

#CDCB9D is a very light, moderate yellow. Relative luminance 0.581; OKLCH L 83.2% C 0.061 H 105.6°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#CDCB9D
RGBrgb(205, 203, 157)
HSLhsl(58, 32%, 71%)
HSVhsv(58, 23%, 80%)
CMYKcmyk(0%, 1%, 23.4%, 19.6%)
CIE-LABlab(80.81, -6.73, 23.27)
CIE-LCHlch(80.81, 24.22, 106.12°)
OKLaboklab(83.22% -0.0165 0.059)
OKLCHoklch(83.22% 0.061 105.6)
XYZxyz(52.6185, 58.1261, 40.3393)
Luminance0.5813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB9D #9D9FCD
analogous
#CDB39D #CDCB9D #B7CD9D
triadic
#CDCB9D #9DCDCB #CB9DCD
tetradic
#CDCB9D #9DCDB3 #9D9FCD #CD9DB7
square
#CDCB9D #9DCDB3 #9D9FCD #CD9DB7
split-complementary
#CDCB9D #9DB7CD #B39DCD
monochromatic
#9F9B51 #B8B574 #CDCB9D #E2E1C6 #F5F4EB

Accessibility & contrast

On white

1.66
#CDCB9D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.63
#CDCB9D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCB9D
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCB9D#FFFFFF#000000##000000
##CDCB9D1.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C79A
Deuteranopia (green-blind)
#D4CA9F
Tritanopia (blue-blind)
#D4C5BF
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdcb9d;
/* rgb */ color: rgb(205, 203, 157);
/* oklch */ color: oklch(83.2% 0.061 105.6);
Tailwind
colors: {
  custom: {
    50: '#dcdaba',
    500: '#cdcb9d',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb9d;
$custom-light: #dcdaba;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb9d",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 157
  },
  "hsl": {
    "h": 57.5,
    "s": 32.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.83218,
    "c": 0.06126,
    "h": 105.6
  },
  "luminance": 0.58125
}

Semantic roles & 50–950 ramp

primary
#CDCB9D
secondary
#6C6EA2
accent
#3FAB3A
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDCB9D

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

Preview Lab → · Contrast checker → · Palette generator →

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