#CDC191#CDC191

#CDC191 is a light, moderate yellow. Relative luminance 0.532; OKLCH L 80.9% C 0.065 H 95.7°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#CDC191
RGBrgb(205, 193, 145)
HSLhsl(48, 38%, 69%)
HSVhsv(48, 29%, 80%)
CMYKcmyk(0%, 5.9%, 29.3%, 19.6%)
CIE-LABlab(77.97, -3.16, 25.75)
CIE-LCHlch(77.97, 25.94, 97.00°)
OKLaboklab(80.9% -0.0065 0.0648)
OKLCHoklch(80.9% 0.065 95.7)
XYZxyz(49.3580, 53.1646, 34.4443)
Luminance0.5316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC191 #919DCD
analogous
#CDA391 #CDC191 #BBCD91
triadic
#CDC191 #91CDC1 #C191CD
tetradic
#CDC191 #91CDA3 #919DCD #CD91BB
square
#CDC191 #91CDA3 #919DCD #CD91BB
split-complementary
#CDC191 #91BBCD #A391CD
monochromatic
#9C8B47 #BAA967 #CDC191 #E0D9BB #F3F0E5

Accessibility & contrast

On white

1.81
#CDC191 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#CDC191 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC191
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC191#FFFFFF#000000##000000
##CDC1911.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBBE8E
Deuteranopia (green-blind)
#CEC393
Tritanopia (blue-blind)
#D6BAB4
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc191;
/* rgb */ color: rgb(205, 193, 145);
/* oklch */ color: oklch(80.9% 0.065 95.7);
Tailwind
colors: {
  custom: {
    50: '#ddd3b1',
    500: '#cdc191',
    950: '#000000',
  },
}
SCSS
$custom: #cdc191;
$custom-light: #ddd3b1;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc191",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 145
  },
  "hsl": {
    "h": 48,
    "s": 37.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.80903,
    "c": 0.06513,
    "h": 95.7
  },
  "luminance": 0.53163
}

Semantic roles & 50–950 ramp

primary
#CDC191
secondary
#606DA2
accent
#4EB035
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CDC191

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

Preview Lab → · Contrast checker → · Palette generator →

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