#CDC568#CDC568

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

Color values

HEX#CDC568
RGBrgb(205, 197, 104)
HSLhsl(55, 50%, 61%)
HSVhsv(55, 49%, 80%)
CMYKcmyk(0%, 3.9%, 49.3%, 19.6%)
CIE-LABlab(78.41, -9.76, 47.24)
CIE-LCHlch(78.41, 48.24, 101.67°)
OKLaboklab(81.05% -0.0285 0.1121)
OKLCHoklch(81.05% 0.116 104.3)
XYZxyz(47.6430, 53.9126, 20.9905)
Luminance0.5391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC568 #6870CD
analogous
#CD9368 #CDC568 #A2CD68
triadic
#CDC568 #68CDC5 #C568CD
tetradic
#CDC568 #68CD93 #6870CD #CD68A2
square
#CDC568 #68CD93 #6870CD #CD68A2
split-complementary
#CDC568 #68A2CD #9368CD
monochromatic
#8C852E #BAB03E #CDC568 #DCD796 #EBE8C4

Accessibility & contrast

On white

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

On black

11.78
#CDC568 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC568
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC568#FFFFFF#000000##000000
##CDC5681.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc568;
/* rgb */ color: rgb(205, 197, 104);
/* oklch */ color: oklch(81.0% 0.116 104.3);
Tailwind
colors: {
  custom: {
    50: '#ded695',
    500: '#cdc568',
    950: '#000000',
  },
}
SCSS
$custom: #cdc568;
$custom-light: #ded695;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc568",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 104
  },
  "hsl": {
    "h": 55.248,
    "s": 50.249,
    "l": 60.588
  },
  "oklch": {
    "l": 0.8105,
    "c": 0.11569,
    "h": 104.3
  },
  "luminance": 0.53911
}

Semantic roles & 50–950 ramp

primary
#CDC568
secondary
#464C93
accent
#34BE28
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC568

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

Preview Lab → · Contrast checker → · Palette generator →

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