#CDCB99#CDCB99

#CDCB99 is a very light, moderate yellow. Relative luminance 0.580; OKLCH L 83.1% C 0.066 H 105.8°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#CDCB99
RGBrgb(205, 203, 153)
HSLhsl(58, 34%, 70%)
HSVhsv(58, 25%, 80%)
CMYKcmyk(0%, 1%, 25.4%, 19.6%)
CIE-LABlab(80.73, -7.28, 25.27)
CIE-LCHlch(80.73, 26.30, 106.07°)
OKLaboklab(83.13% -0.0181 0.0638)
OKLCHoklch(83.13% 0.066 105.8)
XYZxyz(52.2826, 57.9917, 38.5701)
Luminance0.5799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB99 #999BCD
analogous
#CDB199 #CDCB99 #B5CD99
triadic
#CDCB99 #99CDCB #CB99CD
tetradic
#CDCB99 #99CDB1 #999BCD #CD99B5
square
#CDCB99 #99CDB1 #999BCD #CD99B5
split-complementary
#CDCB99 #99B5CD #B199CD
monochromatic
#9E9B4D #B9B670 #CDCB99 #E1E0C2 #F5F5EA

Accessibility & contrast

On white

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

On black

12.60
#CDCB99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCB99
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCB99#FFFFFF#000000##000000
##CDCB991.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C796
Deuteranopia (green-blind)
#D5CA9B
Tritanopia (blue-blind)
#D5C4BE
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcb99;
/* rgb */ color: rgb(205, 203, 153);
/* oklch */ color: oklch(83.1% 0.066 105.8);
Tailwind
colors: {
  custom: {
    50: '#dcdab7',
    500: '#cdcb99',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb99;
$custom-light: #dcdab7;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb99",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 153
  },
  "hsl": {
    "h": 57.692,
    "s": 34.211,
    "l": 70.196
  },
  "oklch": {
    "l": 0.83134,
    "c": 0.06632,
    "h": 105.8
  },
  "luminance": 0.57991
}

Semantic roles & 50–950 ramp

primary
#CDCB99
secondary
#686AA2
accent
#3DAD38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDCB99

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

Preview Lab → · Contrast checker → · Palette generator →

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