#CDCD32#CDCD32

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

Color values

HEX#CDCD32
RGBrgb(205, 205, 50)
HSLhsl(60, 61%, 50%)
HSVhsv(60, 76%, 80%)
CMYKcmyk(0%, 0%, 75.6%, 19.6%)
CIE-LABlab(80.11, -17.24, 71.20)
CIE-LCHlch(80.11, 73.26, 103.61°)
OKLaboklab(82.26% -0.0552 0.1556)
OKLCHoklch(82.26% 0.165 109.5)
XYZxyz(47.5857, 56.8735, 11.4880)
Luminance0.5687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD32 #3232CD
analogous
#CD8032 #CDCD32 #80CD32
triadic
#CDCD32 #32CDCD #CD32CD
tetradic
#CDCD32 #32CD80 #3232CD #CD3280
square
#CDCD32 #32CD80 #3232CD #CD3280
split-complementary
#CDCD32 #327FCD #7F32CD
monochromatic
#6B6B1A #9C9C26 #CDCD32 #D9D963 #E5E594

Accessibility & contrast

On white

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

On black

12.37
#CDCD32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD32
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD32#FFFFFF#000000##000000
##CDCD321.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdcd32;
/* rgb */ color: rgb(205, 205, 50);
/* oklch */ color: oklch(82.3% 0.165 109.5);
Tailwind
colors: {
  custom: {
    50: '#e0dc77',
    500: '#cdcd32',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd32;
$custom-light: #e0dc77;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd32",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 50
  },
  "hsl": {
    "h": 60,
    "s": 60.784,
    "l": 50
  },
  "oklch": {
    "l": 0.82261,
    "c": 0.16513,
    "h": 109.5
  },
  "luminance": 0.56872
}

Semantic roles & 50–950 ramp

primary
#CDCD32
secondary
#2F2F74
accent
#44E444
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161509
muted
#84847D

Preview Lab

Preview with #CDCD32

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

Preview Lab → · Contrast checker → · Palette generator →

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