#CDC394#CDC394

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

Color values

HEX#CDC394
RGBrgb(205, 195, 148)
HSLhsl(49, 36%, 69%)
HSVhsv(49, 28%, 80%)
CMYKcmyk(0%, 4.9%, 27.8%, 19.6%)
CIE-LABlab(78.55, -3.81, 24.94)
CIE-LCHlch(78.55, 25.23, 98.68°)
OKLaboklab(81.38% -0.0083 0.0629)
OKLCHoklch(81.38% 0.063 97.5)
XYZxyz(50.0375, 54.1486, 35.8271)
Luminance0.5415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC394 #949ECD
analogous
#CDA794 #CDC394 #BBCD94
triadic
#CDC394 #94CDC3 #C394CD
tetradic
#CDC394 #94CDA7 #949ECD #CD94BB
square
#CDC394 #94CDA7 #949ECD #CD94BB
split-complementary
#CDC394 #94BBCD #A794CD
monochromatic
#9D8E49 #BAAC6A #CDC394 #E0DABE #F4F2E7

Accessibility & contrast

On white

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

On black

11.83
#CDC394 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC394
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC394#FFFFFF#000000##000000
##CDC3941.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc394;
/* rgb */ color: rgb(205, 195, 148);
/* oklch */ color: oklch(81.4% 0.063 97.5);
Tailwind
colors: {
  custom: {
    50: '#ddd5b3',
    500: '#cdc394',
    950: '#000000',
  },
}
SCSS
$custom: #cdc394;
$custom-light: #ddd5b3;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc394",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 148
  },
  "hsl": {
    "h": 49.474,
    "s": 36.306,
    "l": 69.216
  },
  "oklch": {
    "l": 0.81376,
    "c": 0.06346,
    "h": 97.5
  },
  "luminance": 0.54147
}

Semantic roles & 50–950 ramp

primary
#CDC394
secondary
#636EA2
accent
#4CAF36
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC394

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

Preview Lab → · Contrast checker → · Palette generator →

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