#CDCB91#CDCB91

#CDCB91 is a very light, moderate yellow. Relative luminance 0.577; OKLCH L 83.0% C 0.076 H 106.3°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#CDCB91
RGBrgb(205, 203, 145)
HSLhsl(58, 38%, 69%)
HSVhsv(58, 29%, 80%)
CMYKcmyk(0%, 1%, 29.3%, 19.6%)
CIE-LABlab(80.59, -8.34, 29.27)
CIE-LCHlch(80.59, 30.43, 105.91°)
OKLaboklab(82.98% -0.0214 0.0732)
OKLCHoklch(82.98% 0.076 106.3)
XYZxyz(51.6439, 57.7362, 35.2062)
Luminance0.5774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB91 #9193CD
analogous
#CDAD91 #CDCB91 #B1CD91
triadic
#CDCB91 #91CDCB #CB91CD
tetradic
#CDCB91 #91CDAD #9193CD #CD91B1
square
#CDCB91 #91CDAD #9193CD #CD91B1
split-complementary
#CDCB91 #91B1CD #AD91CD
monochromatic
#9C9A47 #BAB767 #CDCB91 #E0DFBB #F3F3E5

Accessibility & contrast

On white

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

On black

12.55
#CDCB91 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCB91
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCB91#FFFFFF#000000##000000
##CDCB911.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C68D
Deuteranopia (green-blind)
#D6C993
Tritanopia (blue-blind)
#D6C4BC
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcb91;
/* rgb */ color: rgb(205, 203, 145);
/* oklch */ color: oklch(83.0% 0.076 106.3);
Tailwind
colors: {
  custom: {
    50: '#dddab1',
    500: '#cdcb91',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb91;
$custom-light: #dddab1;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb91",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 145
  },
  "hsl": {
    "h": 58,
    "s": 37.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.82975,
    "c": 0.07626,
    "h": 106.3
  },
  "luminance": 0.57735
}

Semantic roles & 50–950 ramp

primary
#CDCB91
secondary
#6062A2
accent
#39B035
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151411
muted
#848381

Preview Lab

Preview with #CDCB91

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

Preview Lab → · Contrast checker → · Palette generator →

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