#CDC656#CDC656

#CDC656 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.0% C 0.134 H 105.7°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#CDC656
RGBrgb(205, 198, 86)
HSLhsl(56, 54%, 57%)
HSVhsv(56, 58%, 80%)
CMYKcmyk(0%, 3.4%, 58%, 19.6%)
CIE-LABlab(78.49, -11.73, 55.73)
CIE-LCHlch(78.49, 56.95, 101.89°)
OKLaboklab(81.05% -0.0361 0.1286)
OKLCHoklch(81.05% 0.134 105.7)
XYZxyz(47.0521, 54.0407, 16.7547)
Luminance0.5404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC656 #565DCD
analogous
#CD8B56 #CDC656 #98CD56
triadic
#CDC656 #56CDC6 #C656CD
tetradic
#CDC656 #56CD8B #565DCD #CD5698
square
#CDC656 #56CD8B #565DCD #CD5698
split-complementary
#CDC656 #5698CD #8B56CD
monochromatic
#827D26 #B1AA34 #CDC656 #DBD685 #E9E6B4

Accessibility & contrast

On white

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

On black

11.81
#CDC656 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC656
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC656#FFFFFF#000000##000000
##CDC6561.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4A
Deuteranopia (green-blind)
#D8C55C
Tritanopia (blue-blind)
#DBBAAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc656;
/* rgb */ color: rgb(205, 198, 86);
/* oklch */ color: oklch(81.0% 0.134 105.7);
Tailwind
colors: {
  custom: {
    50: '#dfd78a',
    500: '#cdc656',
    950: '#000000',
  },
}
SCSS
$custom: #cdc656;
$custom-light: #dfd78a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc656",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 86
  },
  "hsl": {
    "h": 56.471,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81048,
    "c": 0.13357,
    "h": 105.7
  },
  "luminance": 0.54039
}

Semantic roles & 50–950 ramp

primary
#CDC656
secondary
#3E4289
accent
#53DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CDC656

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

Preview Lab → · Contrast checker → · Palette generator →

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