#CDCD36#CDCD36

#CDCD36 is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.3% C 0.163 H 109.5°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#CDCD36
RGBrgb(205, 205, 54)
HSLhsl(60, 60%, 51%)
HSVhsv(60, 74%, 80%)
CMYKcmyk(0%, 0%, 73.7%, 19.6%)
CIE-LABlab(80.13, -17.07, 69.95)
CIE-LCHlch(80.13, 72.00, 103.72°)
OKLaboklab(82.28% -0.0544 0.1537)
OKLCHoklch(82.28% 0.163 109.5)
XYZxyz(47.6758, 56.9096, 11.9626)
Luminance0.5691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD36 #3636CD
analogous
#CD8136 #CDCD36 #81CD36
triadic
#CDCD36 #36CDCD #CD36CD
tetradic
#CDCD36 #36CD81 #3636CD #CD3681
square
#CDCD36 #36CD81 #3636CD #CD3681
split-complementary
#CDCD36 #3681CD #8136CD
monochromatic
#6D6D1B #9E9E27 #CDCD36 #D9D967 #E5E598

Accessibility & contrast

On white

1.70
#CDCD36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.38
#CDCD36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD36
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD36#FFFFFF#000000##000000
##CDCD361.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC414
Deuteranopia (green-blind)
#DFC942
Tritanopia (blue-blind)
#DCC0B0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcd36;
/* rgb */ color: rgb(205, 205, 54);
/* oklch */ color: oklch(82.3% 0.163 109.5);
Tailwind
colors: {
  custom: {
    50: '#e0dc78',
    500: '#cdcd36',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd36;
$custom-light: #e0dc78;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd36",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 54
  },
  "hsl": {
    "h": 60,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.82284,
    "c": 0.16304,
    "h": 109.5
  },
  "luminance": 0.56908
}

Semantic roles & 50–950 ramp

primary
#CDCD36
secondary
#303077
accent
#44E344
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CDCD36

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

Preview Lab → · Contrast checker → · Palette generator →

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