#CDC993#CDC993

#CDC993 is a very light, moderate yellow. Relative luminance 0.569; OKLCH L 82.6% C 0.071 H 104.3°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#CDC993
RGBrgb(205, 201, 147)
HSLhsl(56, 37%, 69%)
HSVhsv(56, 28%, 80%)
CMYKcmyk(0%, 2%, 28.3%, 19.6%)
CIE-LABlab(80.10, -7.05, 27.56)
CIE-LCHlch(80.10, 28.45, 104.35°)
OKLaboklab(82.6% -0.0176 0.0692)
OKLCHoklch(82.6% 0.071 104.3)
XYZxyz(51.3302, 56.8599, 35.8692)
Luminance0.5686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC993 #9397CD
analogous
#CDAC93 #CDC993 #B4CD93
triadic
#CDC993 #93CDC9 #C993CD
tetradic
#CDC993 #93CDAC #9397CD #CD93B4
square
#CDC993 #93CDAC #9397CD #CD93B4
split-complementary
#CDC993 #93B4CD #AC93CD
monochromatic
#9D9749 #BAB469 #CDC993 #E0DEBD #F4F3E7

Accessibility & contrast

On white

1.70
#CDC993 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.37
#CDC993 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC993
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC993#FFFFFF#000000##000000
##CDC9931.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C58F
Deuteranopia (green-blind)
#D4C895
Tritanopia (blue-blind)
#D6C2BB
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdc993;
/* rgb */ color: rgb(205, 201, 147);
/* oklch */ color: oklch(82.6% 0.071 104.3);
Tailwind
colors: {
  custom: {
    50: '#ddd9b3',
    500: '#cdc993',
    950: '#000000',
  },
}
SCSS
$custom: #cdc993;
$custom-light: #ddd9b3;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc993",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 147
  },
  "hsl": {
    "h": 55.862,
    "s": 36.709,
    "l": 69.02
  },
  "oklch": {
    "l": 0.82597,
    "c": 0.0714,
    "h": 104.3
  },
  "luminance": 0.56859
}

Semantic roles & 50–950 ramp

primary
#CDC993
secondary
#6266A2
accent
#3EB036
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC993

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

Preview Lab → · Contrast checker → · Palette generator →

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