#CDC783#CDC783

#CDC783 is a light, moderate yellow. Relative luminance 0.555; OKLCH L 81.9% C 0.088 H 103.8°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#CDC783
RGBrgb(205, 199, 131)
HSLhsl(55, 43%, 66%)
HSVhsv(55, 36%, 80%)
CMYKcmyk(0%, 2.9%, 36.1%, 19.6%)
CIE-LABlab(79.31, -8.00, 34.83)
CIE-LCHlch(79.31, 35.74, 102.94°)
OKLaboklab(81.88% -0.0211 0.0858)
OKLCHoklch(81.88% 0.088 103.8)
XYZxyz(49.6977, 55.4658, 29.5563)
Luminance0.5546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC783 #8389CD
analogous
#CDA283 #CDC783 #AECD83
triadic
#CDC783 #83CDC7 #C783CD
tetradic
#CDC783 #83CDA2 #8389CD #CD83AE
square
#CDC783 #83CDA2 #8389CD #CD83AE
split-complementary
#CDC783 #83AECD #A283CD
monochromatic
#98913D #BBB357 #CDC783 #DFDBAF #F0EEDA

Accessibility & contrast

On white

1.74
#CDC783 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#CDC783 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC783
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC783#FFFFFF#000000##000000
##CDC7831.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C27E
Deuteranopia (green-blind)
#D5C686
Tritanopia (blue-blind)
#D7BEB6
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc783;
/* rgb */ color: rgb(205, 199, 131);
/* oklch */ color: oklch(81.9% 0.088 103.8);
Tailwind
colors: {
  custom: {
    50: '#ddd7a8',
    500: '#cdc783',
    950: '#000000',
  },
}
SCSS
$custom: #cdc783;
$custom-light: #ddd7a8;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc783",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 131
  },
  "hsl": {
    "h": 55.135,
    "s": 42.529,
    "l": 65.882
  },
  "oklch": {
    "l": 0.81883,
    "c": 0.08836,
    "h": 103.8
  },
  "luminance": 0.55465
}

Semantic roles & 50–950 ramp

primary
#CDC783
secondary
#565C9E
accent
#3BB630
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC783

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

Preview Lab → · Contrast checker → · Palette generator →

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