#CDC565#CDC565

#CDC565 is a light, moderate yellow. Relative luminance 0.539; OKLCH L 81.0% C 0.119 H 104.4°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#CDC565
RGBrgb(205, 197, 101)
HSLhsl(55, 51%, 60%)
HSVhsv(55, 51%, 80%)
CMYKcmyk(0%, 3.9%, 50.7%, 19.6%)
CIE-LABlab(78.38, -10.03, 48.65)
CIE-LCHlch(78.38, 49.67, 101.65°)
OKLaboklab(81.01% -0.0296 0.1149)
OKLCHoklch(81.01% 0.119 104.4)
XYZxyz(47.4933, 53.8527, 20.2022)
Luminance0.5385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC565 #656DCD
analogous
#CD9165 #CDC565 #A1CD65
triadic
#CDC565 #65CDC5 #C565CD
tetradic
#CDC565 #65CD91 #656DCD #CD65A1
square
#CDC565 #65CD91 #656DCD #CD65A1
split-complementary
#CDC565 #65A1CD #9165CD
monochromatic
#8B832D #B9AF3C #CDC565 #DCD693 #EBE8C1

Accessibility & contrast

On white

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

On black

11.77
#CDC565 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC565
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC565#FFFFFF#000000##000000
##CDC5651.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BF5C
Deuteranopia (green-blind)
#D6C46A
Tritanopia (blue-blind)
#DABAAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc565;
/* rgb */ color: rgb(205, 197, 101);
/* oklch */ color: oklch(81.0% 0.119 104.4);
Tailwind
colors: {
  custom: {
    50: '#ded693',
    500: '#cdc565',
    950: '#000000',
  },
}
SCSS
$custom: #cdc565;
$custom-light: #ded693;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc565",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 101
  },
  "hsl": {
    "h": 55.385,
    "s": 50.98,
    "l": 60
  },
  "oklch": {
    "l": 0.81011,
    "c": 0.11868,
    "h": 104.4
  },
  "luminance": 0.53851
}

Semantic roles & 50–950 ramp

primary
#CDC565
secondary
#454B91
accent
#58DA4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC565

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

Preview Lab → · Contrast checker → · Palette generator →

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