#CDC392#CDC392

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

Color values

HEX#CDC392
RGBrgb(205, 195, 146)
HSLhsl(50, 37%, 69%)
HSVhsv(50, 29%, 80%)
CMYKcmyk(0%, 4.9%, 28.8%, 19.6%)
CIE-LABlab(78.51, -4.07, 25.95)
CIE-LCHlch(78.51, 26.26, 98.92°)
OKLaboklab(81.34% -0.0091 0.0653)
OKLCHoklch(81.34% 0.066 97.9)
XYZxyz(49.8806, 54.0858, 35.0005)
Luminance0.5409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC392 #929CCD
analogous
#CDA692 #CDC392 #BACD92
triadic
#CDC392 #92CDC3 #C392CD
tetradic
#CDC392 #92CDA6 #929CCD #CD92BA
square
#CDC392 #92CDA6 #929CCD #CD92BA
split-complementary
#CDC392 #92BACD #A692CD
monochromatic
#9D8E48 #BAAC68 #CDC392 #E0DABC #F3F1E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC392#FFFFFF#000000##000000
##CDC3921.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)
#CDC08F
Deuteranopia (green-blind)
#D0C494
Tritanopia (blue-blind)
#D6BCB6
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc392;
/* rgb */ color: rgb(205, 195, 146);
/* oklch */ color: oklch(81.3% 0.066 97.9);
Tailwind
colors: {
  custom: {
    50: '#ddd5b2',
    500: '#cdc392',
    950: '#000000',
  },
}
SCSS
$custom: #cdc392;
$custom-light: #ddd5b2;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc392",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 146
  },
  "hsl": {
    "h": 49.831,
    "s": 37.107,
    "l": 68.824
  },
  "oklch": {
    "l": 0.81335,
    "c": 0.06593,
    "h": 97.9
  },
  "luminance": 0.54085
}

Semantic roles & 50–950 ramp

primary
#CDC392
secondary
#616CA2
accent
#4AB035
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151411
muted
#848381

Preview Lab

Preview with #CDC392

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

Preview Lab → · Contrast checker → · Palette generator →

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