#CDC593#CDC593

#CDC593 is a light, moderate yellow. Relative luminance 0.550; OKLCH L 81.8% C 0.067 H 100.1°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#CDC593
RGBrgb(205, 197, 147)
HSLhsl(52, 37%, 69%)
HSVhsv(52, 28%, 80%)
CMYKcmyk(0%, 3.9%, 28.3%, 19.6%)
CIE-LABlab(79.05, -4.98, 26.15)
CIE-LCHlch(79.05, 26.62, 100.79°)
OKLaboklab(81.77% -0.0117 0.0658)
OKLCHoklch(81.77% 0.067 100.1)
XYZxyz(50.4098, 55.0193, 35.5624)
Luminance0.5502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC593 #939BCD
analogous
#CDA893 #CDC593 #B8CD93
triadic
#CDC593 #93CDC5 #C593CD
tetradic
#CDC593 #93CDA8 #939BCD #CD93B8
square
#CDC593 #93CDA8 #939BCD #CD93B8
split-complementary
#CDC593 #93B8CD #A893CD
monochromatic
#9D9149 #BAAF69 #CDC593 #E0DBBD #F4F2E7

Accessibility & contrast

On white

1.75
#CDC593 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.00
#CDC593 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC593
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC593#FFFFFF#000000##000000
##CDC5931.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC290
Deuteranopia (green-blind)
#D1C595
Tritanopia (blue-blind)
#D6BEB8
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc593;
/* rgb */ color: rgb(205, 197, 147);
/* oklch */ color: oklch(81.8% 0.067 100.1);
Tailwind
colors: {
  custom: {
    50: '#ddd6b3',
    500: '#cdc593',
    950: '#000000',
  },
}
SCSS
$custom: #cdc593;
$custom-light: #ddd6b3;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc593",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 147
  },
  "hsl": {
    "h": 51.724,
    "s": 36.709,
    "l": 69.02
  },
  "oklch": {
    "l": 0.81768,
    "c": 0.06684,
    "h": 100.1
  },
  "luminance": 0.55018
}

Semantic roles & 50–950 ramp

primary
#CDC593
secondary
#626BA2
accent
#47B036
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC593

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

Preview Lab → · Contrast checker → · Palette generator →

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