#CDC365#CDC365

#CDC365 is a light, moderate yellow. Relative luminance 0.529; OKLCH L 80.6% C 0.117 H 103.2°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#CDC365
RGBrgb(205, 195, 101)
HSLhsl(54, 51%, 60%)
HSVhsv(54, 51%, 80%)
CMYKcmyk(0%, 4.9%, 50.7%, 19.6%)
CIE-LABlab(77.85, -9.00, 48.02)
CIE-LCHlch(77.85, 48.85, 100.62°)
OKLaboklab(80.59% -0.0267 0.1136)
OKLCHoklch(80.59% 0.117 103.2)
XYZxyz(47.0422, 52.9505, 20.0518)
Luminance0.5295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC365 #656FCD
analogous
#CD8F65 #CDC365 #A3CD65
triadic
#CDC365 #65CDC3 #C365CD
tetradic
#CDC365 #65CD8F #656FCD #CD65A3
square
#CDC365 #65CD8F #656FCD #CD65A3
split-complementary
#CDC365 #65A3CD #8F65CD
monochromatic
#8B822D #B9AD3C #CDC365 #DCD593 #EBE7C1

Accessibility & contrast

On white

1.81
#CDC365 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#CDC365 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC365
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC365#FFFFFF#000000##000000
##CDC3651.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BE5D
Deuteranopia (green-blind)
#D5C369
Tritanopia (blue-blind)
#DAB8AD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc365;
/* rgb */ color: rgb(205, 195, 101);
/* oklch */ color: oklch(80.6% 0.117 103.2);
Tailwind
colors: {
  custom: {
    50: '#ded593',
    500: '#cdc365',
    950: '#000000',
  },
}
SCSS
$custom: #cdc365;
$custom-light: #ded593;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc365",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 101
  },
  "hsl": {
    "h": 54.231,
    "s": 50.98,
    "l": 60
  },
  "oklch": {
    "l": 0.8059,
    "c": 0.11665,
    "h": 103.2
  },
  "luminance": 0.52949
}

Semantic roles & 50–950 ramp

primary
#CDC365
secondary
#454C91
accent
#5BDA4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC365

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

Preview Lab → · Contrast checker → · Palette generator →

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