#CDC663#CDC663

#CDC663 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.2% C 0.122 H 105.1°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#CDC663
RGBrgb(205, 198, 99)
HSLhsl(56, 51%, 60%)
HSVhsv(56, 52%, 80%)
CMYKcmyk(0%, 3.4%, 51.7%, 19.6%)
CIE-LABlab(78.62, -10.71, 49.89)
CIE-LCHlch(78.62, 51.02, 102.11°)
OKLaboklab(81.2% -0.0318 0.1175)
OKLCHoklch(81.2% 0.122 105.1)
XYZxyz(47.6244, 54.2696, 19.7684)
Luminance0.5427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC663 #636ACD
analogous
#CD9163 #CDC663 #9FCD63
triadic
#CDC663 #63CDC6 #C663CD
tetradic
#CDC663 #63CD91 #636ACD #CD639F
square
#CDC663 #63CD91 #636ACD #CD639F
split-complementary
#CDC663 #639FCD #9163CD
monochromatic
#8A832C #B8B03B #CDC663 #DCD791 #EBE8C0

Accessibility & contrast

On white

1.77
#CDC663 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#CDC663 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC663
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC663#FFFFFF#000000##000000
##CDC6631.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C05A
Deuteranopia (green-blind)
#D7C568
Tritanopia (blue-blind)
#DABBAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc663;
/* rgb */ color: rgb(205, 198, 99);
/* oklch */ color: oklch(81.2% 0.122 105.1);
Tailwind
colors: {
  custom: {
    50: '#ded792',
    500: '#cdc663',
    950: '#000000',
  },
}
SCSS
$custom: #cdc663;
$custom-light: #ded792;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc663",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 99
  },
  "hsl": {
    "h": 56.038,
    "s": 51.456,
    "l": 59.608
  },
  "oklch": {
    "l": 0.81197,
    "c": 0.12167,
    "h": 105.1
  },
  "luminance": 0.54268
}

Semantic roles & 50–950 ramp

primary
#CDC663
secondary
#444990
accent
#56DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC663

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

Preview Lab → · Contrast checker → · Palette generator →

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