#CDCD00#CDCD00

#CDCD00 is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.1% C 0.179 H 109.8°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#CDCD00
RGBrgb(205, 205, 0)
HSLhsl(60, 100%, 40%)
HSVhsv(60, 100%, 80%)
CMYKcmyk(0%, 0%, 100%, 19.6%)
CIE-LABlab(79.98, -18.28, 80.15)
CIE-LCHlch(79.98, 82.21, 102.85°)
OKLaboklab(82.12% -0.0605 0.1685)
OKLCHoklch(82.12% 0.179 109.8)
XYZxyz(47.0101, 56.6433, 8.4569)
Luminance0.5664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD00 #0000CD
analogous
#CD6600 #CDCD00 #66CD00
triadic
#CDCD00 #00CDCD #CD00CD
tetradic
#CDCD00 #00CD66 #0000CD #CD0066
square
#CDCD00 #00CD66 #0000CD #CD0066
split-complementary
#CDCD00 #0066CD #6600CD
monochromatic
#535300 #909000 #CDCD00 #FFFF0B #FFFF48

Accessibility & contrast

On white

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

On black

12.33
#CDCD00 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD00
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD00#FFFFFF#000000##000000
##CDCD001.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC400
Deuteranopia (green-blind)
#E1C926
Tritanopia (blue-blind)
#DDBFAE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdcd00;
/* rgb */ color: rgb(205, 205, 0);
/* oklch */ color: oklch(82.1% 0.179 109.8);
Tailwind
colors: {
  custom: {
    50: '#e1db69',
    500: '#cdcd00',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd00;
$custom-light: #e1db69;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd00",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 0
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 40.196
  },
  "oklch": {
    "l": 0.82116,
    "c": 0.179,
    "h": 109.8
  },
  "luminance": 0.56642
}

Semantic roles & 50–950 ramp

primary
#CDCD00
secondary
#111160
accent
#29FF29
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#161408
muted
#85837D

Preview Lab

Preview with #CDCD00

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

Preview Lab → · Contrast checker → · Palette generator →

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