#CDCB84#CDCB84

#CDCB84 is a very light, moderate yellow. Relative luminance 0.574; OKLCH L 82.7% C 0.092 H 106.9°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#CDCB84
RGBrgb(205, 203, 132)
HSLhsl(58, 42%, 66%)
HSVhsv(58, 36%, 80%)
CMYKcmyk(0%, 1%, 35.6%, 19.6%)
CIE-LABlab(80.38, -9.94, 35.71)
CIE-LCHlch(80.38, 37.06, 105.55°)
OKLaboklab(82.74% -0.0266 0.0879)
OKLCHoklch(82.74% 0.092 106.9)
XYZxyz(50.6982, 57.3580, 30.2258)
Luminance0.5736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB84 #8486CD
analogous
#CDA684 #CDCB84 #AACD84
triadic
#CDCB84 #84CDCB #CB84CD
tetradic
#CDCB84 #84CDA6 #8486CD #CD84AA
square
#CDCB84 #84CDA6 #8486CD #CD84AA
split-complementary
#CDCB84 #84AACD #A684CD
monochromatic
#99963E #BBB958 #CDCB84 #DFDDB0 #F0F0DB

Accessibility & contrast

On white

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

On black

12.47
#CDCB84 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCB84
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCB84#FFFFFF#000000##000000
##CDCB841.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C67F
Deuteranopia (green-blind)
#D8C987
Tritanopia (blue-blind)
#D7C2B9
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcb84;
/* rgb */ color: rgb(205, 203, 132);
/* oklch */ color: oklch(82.7% 0.092 106.9);
Tailwind
colors: {
  custom: {
    50: '#dddaa8',
    500: '#cdcb84',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb84;
$custom-light: #dddaa8;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb84",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 132
  },
  "hsl": {
    "h": 58.356,
    "s": 42.197,
    "l": 66.078
  },
  "oklch": {
    "l": 0.82738,
    "c": 0.09181,
    "h": 106.9
  },
  "luminance": 0.57357
}

Semantic roles & 50–950 ramp

primary
#CDCB84
secondary
#56589F
accent
#34B530
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151410
muted
#848380

Preview Lab

Preview with #CDCB84

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

Preview Lab → · Contrast checker → · Palette generator →

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