#CDCD62#CDCD62

#CDCD62 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.7% C 0.130 H 108.9°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#CDCD62
RGBrgb(205, 205, 98)
HSLhsl(60, 52%, 59%)
HSVhsv(60, 52%, 80%)
CMYKcmyk(0%, 0%, 52.2%, 19.6%)
CIE-LABlab(80.47, -14.33, 52.52)
CIE-LCHlch(80.47, 54.45, 105.27°)
OKLaboklab(82.67% -0.0422 0.1231)
OKLCHoklch(82.67% 0.13 108.9)
XYZxyz(49.2140, 57.5248, 20.0638)
Luminance0.5752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD62 #6262CD
analogous
#CD9862 #CDCD62 #98CD62
triadic
#CDCD62 #62CDCD #CD62CD
tetradic
#CDCD62 #62CD98 #6262CD #CD6298
square
#CDCD62 #62CD98 #6262CD #CD6298
split-complementary
#CDCD62 #6298CD #9862CD
monochromatic
#89892C #B7B73A #CDCD62 #DCDC90 #EBEBBF

Accessibility & contrast

On white

1.68
#CDCD62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.50
#CDCD62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD62
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD62#FFFFFF#000000##000000
##CDCD621.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC658
Deuteranopia (green-blind)
#DDC968
Tritanopia (blue-blind)
#DAC2B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcd62;
/* rgb */ color: rgb(205, 205, 98);
/* oklch */ color: oklch(82.7% 0.130 108.9);
Tailwind
colors: {
  custom: {
    50: '#dedc92',
    500: '#cdcd62',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd62;
$custom-light: #dedc92;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd62",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 98
  },
  "hsl": {
    "h": 60,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.8267,
    "c": 0.13011,
    "h": 108.9
  },
  "luminance": 0.57524
}

Semantic roles & 50–950 ramp

primary
#CDCD62
secondary
#434390
accent
#4DDB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CDCD62

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

Preview Lab → · Contrast checker → · Palette generator →

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