#CDCC36#CDCC36

#CDCC36 is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.1% C 0.162 H 109.1°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#CDCC36
RGBrgb(205, 204, 54)
HSLhsl(60, 60%, 51%)
HSVhsv(60, 74%, 80%)
CMYKcmyk(0%, 0.5%, 73.7%, 19.6%)
CIE-LABlab(79.86, -16.58, 69.70)
CIE-LCHlch(79.86, 71.64, 103.38°)
OKLaboklab(82.07% -0.053 0.1532)
OKLCHoklch(82.07% 0.162 109.1)
XYZxyz(47.4373, 56.4327, 11.8831)
Luminance0.5643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC36 #3637CD
analogous
#CD8136 #CDCC36 #82CD36
triadic
#CDCC36 #36CDCC #CC36CD
tetradic
#CDCC36 #36CD81 #3637CD #CD3682
square
#CDCC36 #36CD81 #3637CD #CD3682
split-complementary
#CDCC36 #3682CD #8136CD
monochromatic
#6D6D1B #9E9E27 #CDCC36 #D9D867 #E5E598

Accessibility & contrast

On white

1.71
#CDCC36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.29
#CDCC36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC36
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC36#FFFFFF#000000##000000
##CDCC361.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC315
Deuteranopia (green-blind)
#DFC842
Tritanopia (blue-blind)
#DCBFB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdcc36;
/* rgb */ color: rgb(205, 204, 54);
/* oklch */ color: oklch(82.1% 0.162 109.1);
Tailwind
colors: {
  custom: {
    50: '#e0db78',
    500: '#cdcc36',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc36;
$custom-light: #e0db78;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc36",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 54
  },
  "hsl": {
    "h": 59.603,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.82069,
    "c": 0.16208,
    "h": 109.1
  },
  "luminance": 0.56431
}

Semantic roles & 50–950 ramp

primary
#CDCC36
secondary
#303177
accent
#46E344
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDCC36

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

Preview Lab → · Contrast checker → · Palette generator →

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