#CDC193#CDC193

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

Color values

HEX#CDC193
RGBrgb(205, 193, 147)
HSLhsl(48, 37%, 69%)
HSVhsv(48, 28%, 80%)
CMYKcmyk(0%, 5.9%, 28.3%, 19.6%)
CIE-LABlab(78.01, -2.90, 24.74)
CIE-LCHlch(78.01, 24.91, 96.68°)
OKLaboklab(80.94% -0.0057 0.0624)
OKLCHoklch(80.94% 0.063 95.2)
XYZxyz(49.5136, 53.2268, 35.2636)
Luminance0.5323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC193 #939FCD
analogous
#CDA493 #CDC193 #BCCD93
triadic
#CDC193 #93CDC1 #C193CD
tetradic
#CDC193 #93CDA4 #939FCD #CD93BC
square
#CDC193 #93CDA4 #939FCD #CD93BC
split-complementary
#CDC193 #93BCCD #A493CD
monochromatic
#9D8C49 #BAA969 #CDC193 #E0D9BD #F4F1E7

Accessibility & contrast

On white

1.80
#CDC193 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#CDC193 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC193
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC193#FFFFFF#000000##000000
##CDC1931.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBBF90
Deuteranopia (green-blind)
#CEC395
Tritanopia (blue-blind)
#D6BAB5
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc193;
/* rgb */ color: rgb(205, 193, 147);
/* oklch */ color: oklch(80.9% 0.063 95.2);
Tailwind
colors: {
  custom: {
    50: '#ddd3b3',
    500: '#cdc193',
    950: '#000000',
  },
}
SCSS
$custom: #cdc193;
$custom-light: #ddd3b3;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc193",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 147
  },
  "hsl": {
    "h": 47.586,
    "s": 36.709,
    "l": 69.02
  },
  "oklch": {
    "l": 0.80943,
    "c": 0.06268,
    "h": 95.2
  },
  "luminance": 0.53226
}

Semantic roles & 50–950 ramp

primary
#CDC193
secondary
#626FA2
accent
#4FB036
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC193

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

Preview Lab → · Contrast checker → · Palette generator →

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