#CDC393#CDC393

#CDC393 is a light, moderate yellow. Relative luminance 0.541; OKLCH L 81.4% C 0.065 H 97.7°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#CDC393
RGBrgb(205, 195, 147)
HSLhsl(50, 37%, 69%)
HSVhsv(50, 28%, 80%)
CMYKcmyk(0%, 4.9%, 28.3%, 19.6%)
CIE-LABlab(78.53, -3.94, 25.44)
CIE-LCHlch(78.53, 25.75, 98.80°)
OKLaboklab(81.36% -0.0087 0.0641)
OKLCHoklch(81.36% 0.065 97.7)
XYZxyz(49.9587, 54.1170, 35.4120)
Luminance0.5412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC393 #939DCD
analogous
#CDA693 #CDC393 #BACD93
triadic
#CDC393 #93CDC3 #C393CD
tetradic
#CDC393 #93CDA6 #939DCD #CD93BA
square
#CDC393 #93CDA6 #939DCD #CD93BA
split-complementary
#CDC393 #93BACD #A693CD
monochromatic
#9D8E49 #BAAC69 #CDC393 #E0DABD #F4F1E7

Accessibility & contrast

On white

1.78
#CDC393 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#CDC393 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC393
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC393#FFFFFF#000000##000000
##CDC3931.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDC090
Deuteranopia (green-blind)
#D0C495
Tritanopia (blue-blind)
#D6BCB6
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc393;
/* rgb */ color: rgb(205, 195, 147);
/* oklch */ color: oklch(81.4% 0.065 97.7);
Tailwind
colors: {
  custom: {
    50: '#ddd5b3',
    500: '#cdc393',
    950: '#000000',
  },
}
SCSS
$custom: #cdc393;
$custom-light: #ddd5b3;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc393",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 147
  },
  "hsl": {
    "h": 49.655,
    "s": 36.709,
    "l": 69.02
  },
  "oklch": {
    "l": 0.81355,
    "c": 0.0647,
    "h": 97.7
  },
  "luminance": 0.54116
}

Semantic roles & 50–950 ramp

primary
#CDC393
secondary
#626DA2
accent
#4BB036
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC393

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

Preview Lab → · Contrast checker → · Palette generator →

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