#CDCC62#CDCC62

#CDCC62 is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.5% C 0.129 H 108.4°. Best body text is #000000 at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#CDCC62
RGBrgb(205, 204, 98)
HSLhsl(59, 52%, 59%)
HSVhsv(59, 52%, 80%)
CMYKcmyk(0%, 0.5%, 52.2%, 19.6%)
CIE-LABlab(80.21, -13.83, 52.21)
CIE-LCHlch(80.21, 54.01, 104.84°)
OKLaboklab(82.46% -0.0408 0.1224)
OKLCHoklch(82.46% 0.129 108.4)
XYZxyz(48.9755, 57.0480, 19.9844)
Luminance0.5705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC62 #6263CD
analogous
#CD9762 #CDCC62 #99CD62
triadic
#CDCC62 #62CDCC #CC62CD
tetradic
#CDCC62 #62CD97 #6263CD #CD6299
square
#CDCC62 #62CD97 #6263CD #CD6299
split-complementary
#CDCC62 #6299CD #9762CD
monochromatic
#89882C #B7B63A #CDCC62 #DCDB90 #EBEABF

Accessibility & contrast

On white

1.69
#CDCC62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.41
#CDCC62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC62
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC62#FFFFFF#000000##000000
##CDCC621.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC558
Deuteranopia (green-blind)
#DCC968
Tritanopia (blue-blind)
#DAC1B4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcc62;
/* rgb */ color: rgb(205, 204, 98);
/* oklch */ color: oklch(82.5% 0.129 108.4);
Tailwind
colors: {
  custom: {
    50: '#dedb92',
    500: '#cdcc62',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc62;
$custom-light: #dedb92;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc62",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 98
  },
  "hsl": {
    "h": 59.439,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.82457,
    "c": 0.12901,
    "h": 108.4
  },
  "luminance": 0.57047
}

Semantic roles & 50–950 ramp

primary
#CDCC62
secondary
#434490
accent
#4EDB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDCC62

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

Preview Lab → · Contrast checker → · Palette generator →

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