#CDC356#CDC356

#CDC356 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.4% C 0.131 H 104.1°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#CDC356
RGBrgb(205, 195, 86)
HSLhsl(55, 54%, 57%)
HSVhsv(55, 58%, 80%)
CMYKcmyk(0%, 4.9%, 58%, 19.6%)
CIE-LABlab(77.69, -10.20, 54.84)
CIE-LCHlch(77.69, 55.78, 100.54°)
OKLaboklab(80.41% -0.0317 0.1267)
OKLCHoklch(80.41% 0.131 104.1)
XYZxyz(46.3732, 52.6828, 16.5284)
Luminance0.5268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC356 #5660CD
analogous
#CD8856 #CDC356 #9CCD56
triadic
#CDC356 #56CDC3 #C356CD
tetradic
#CDC356 #56CD88 #5660CD #CD569C
square
#CDC356 #56CD88 #5660CD #CD569C
split-complementary
#CDC356 #569CCD #8856CD
monochromatic
#827A26 #B1A734 #CDC356 #DBD485 #E9E5B4

Accessibility & contrast

On white

1.82
#CDC356 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#CDC356 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC356
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC356#FFFFFF#000000##000000
##CDC3561.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD4A
Deuteranopia (green-blind)
#D6C25C
Tritanopia (blue-blind)
#DBB7AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc356;
/* rgb */ color: rgb(205, 195, 86);
/* oklch */ color: oklch(80.4% 0.131 104.1);
Tailwind
colors: {
  custom: {
    50: '#dfd489',
    500: '#cdc356',
    950: '#000000',
  },
}
SCSS
$custom: #cdc356;
$custom-light: #dfd489;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc356",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 86
  },
  "hsl": {
    "h": 54.958,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80413,
    "c": 0.13062,
    "h": 104.1
  },
  "luminance": 0.52681
}

Semantic roles & 50–950 ramp

primary
#CDC356
secondary
#3E4489
accent
#57DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CDC356

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

Preview Lab → · Contrast checker → · Palette generator →

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