#CDCB8D#CDCB8D

#CDCB8D is a very light, moderate yellow. Relative luminance 0.576; OKLCH L 82.9% C 0.081 H 106.5°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#CDCB8D
RGBrgb(205, 203, 141)
HSLhsl(58, 39%, 68%)
HSVhsv(58, 31%, 80%)
CMYKcmyk(0%, 1%, 31.2%, 19.6%)
CIE-LABlab(80.52, -8.85, 31.25)
CIE-LCHlch(80.52, 32.48, 105.81°)
OKLaboklab(82.9% -0.023 0.0778)
OKLCHoklch(82.9% 0.081 106.5)
XYZxyz(51.3408, 57.6150, 33.6104)
Luminance0.5761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB8D #8D8FCD
analogous
#CDAB8D #CDCB8D #AFCD8D
triadic
#CDCB8D #8DCDCB #CB8DCD
tetradic
#CDCB8D #8DCDAB #8D8FCD #CD8DAF
square
#CDCB8D #8DCDAB #8D8FCD #CD8DAF
split-complementary
#CDCB8D #8DAFCD #AB8DCD
monochromatic
#9B9944 #BAB862 #CDCB8D #E0DEB8 #F2F2E2

Accessibility & contrast

On white

1.68
#CDCB8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.52
#CDCB8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCB8D
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCB8D#FFFFFF#000000##000000
##CDCB8D1.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C689
Deuteranopia (green-blind)
#D7C98F
Tritanopia (blue-blind)
#D6C3BB
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcb8d;
/* rgb */ color: rgb(205, 203, 141);
/* oklch */ color: oklch(82.9% 0.081 106.5);
Tailwind
colors: {
  custom: {
    50: '#dddaaf',
    500: '#cdcb8d',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb8d;
$custom-light: #dddaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb8d",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 141
  },
  "hsl": {
    "h": 58.125,
    "s": 39.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.82899,
    "c": 0.08112,
    "h": 106.5
  },
  "luminance": 0.57614
}

Semantic roles & 50–950 ramp

primary
#CDCB8D
secondary
#5C5FA2
accent
#37B233
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDCB8D

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

Preview Lab → · Contrast checker → · Palette generator →

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