#CDC63D#CDC63D

#CDC63D is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.8% C 0.152 H 106.4°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#CDC63D
RGBrgb(205, 198, 61)
HSLhsl(57, 59%, 52%)
HSVhsv(57, 70%, 80%)
CMYKcmyk(0%, 3.4%, 70.2%, 19.6%)
CIE-LABlab(78.29, -13.25, 65.77)
CIE-LCHlch(78.29, 67.09, 101.39°)
OKLaboklab(80.83% -0.0431 0.1461)
OKLCHoklch(80.83% 0.152 106.4)
XYZxyz(46.2150, 53.7059, 12.3458)
Luminance0.5370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC63D #3D44CD
analogous
#CD7E3D #CDC63D #8CCD3D
triadic
#CDC63D #3DCDC6 #C63DCD
tetradic
#CDC63D #3DCD7E #3D44CD #CD3D8C
square
#CDC63D #3DCD7E #3D44CD #CD3D8C
split-complementary
#CDC63D #3D8CCD #7E3DCD
monochromatic
#726E1D #A39D2A #CDC63D #DAD46E #E6E39E

Accessibility & contrast

On white

1.79
#CDC63D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#CDC63D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC63D
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC63D#FFFFFF#000000##000000
##CDC63D1.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF26
Deuteranopia (green-blind)
#DAC447
Tritanopia (blue-blind)
#DCB9AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc63d;
/* rgb */ color: rgb(205, 198, 61);
/* oklch */ color: oklch(80.8% 0.152 106.4);
Tailwind
colors: {
  custom: {
    50: '#e0d77b',
    500: '#cdc63d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc63d;
$custom-light: #e0d77b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc63d",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 61
  },
  "hsl": {
    "h": 57.083,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.8083,
    "c": 0.15228,
    "h": 106.4
  },
  "luminance": 0.53704
}

Semantic roles & 50–950 ramp

primary
#CDC63D
secondary
#33377B
accent
#4DE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CDC63D

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

Preview Lab → · Contrast checker → · Palette generator →

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