#CDCD63#CDCD63

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

Color values

HEX#CDCD63
RGBrgb(205, 205, 99)
HSLhsl(60, 51%, 60%)
HSVhsv(60, 52%, 80%)
CMYKcmyk(0%, 0%, 51.7%, 19.6%)
CIE-LABlab(80.48, -14.25, 52.07)
CIE-LCHlch(80.48, 53.99, 105.31°)
OKLaboklab(82.68% -0.0419 0.1222)
OKLCHoklch(82.68% 0.129 108.9)
XYZxyz(49.2615, 57.5439, 20.3141)
Luminance0.5754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD63 #6363CD
analogous
#CD9863 #CDCD63 #98CD63
triadic
#CDCD63 #63CDCD #CD63CD
tetradic
#CDCD63 #63CD98 #6363CD #CD6398
square
#CDCD63 #63CD98 #6363CD #CD6398
split-complementary
#CDCD63 #6398CD #9863CD
monochromatic
#8A8A2C #B8B83B #CDCD63 #DCDC91 #EBEBC0

Accessibility & contrast

On white

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

On black

12.51
#CDCD63 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD63
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD63#FFFFFF#000000##000000
##CDCD631.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC659
Deuteranopia (green-blind)
#DDCA69
Tritanopia (blue-blind)
#D9C2B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcd63;
/* rgb */ color: rgb(205, 205, 99);
/* oklch */ color: oklch(82.7% 0.129 108.9);
Tailwind
colors: {
  custom: {
    50: '#dedc92',
    500: '#cdcd63',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd63;
$custom-light: #dedc92;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd63",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 99
  },
  "hsl": {
    "h": 60,
    "s": 51.456,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82682,
    "c": 0.12917,
    "h": 108.9
  },
  "luminance": 0.57543
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDCD63

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

Preview Lab → · Contrast checker → · Palette generator →

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