#CDC661#CDC661

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

Color values

HEX#CDC661
RGBrgb(205, 198, 97)
HSLhsl(56, 52%, 59%)
HSVhsv(56, 53%, 80%)
CMYKcmyk(0%, 3.4%, 52.7%, 19.6%)
CIE-LABlab(78.60, -10.88, 50.81)
CIE-LCHlch(78.60, 51.96, 102.08°)
OKLaboklab(81.17% -0.0325 0.1193)
OKLCHoklch(81.17% 0.124 105.2)
XYZxyz(47.5299, 54.2318, 19.2710)
Luminance0.5423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC661 #6168CD
analogous
#CD9061 #CDC661 #9ECD61
triadic
#CDC661 #61CDC6 #C661CD
tetradic
#CDC661 #61CD90 #6168CD #CD619E
square
#CDC661 #61CD90 #6168CD #CD619E
split-complementary
#CDC661 #619ECD #9061CD
monochromatic
#88822B #B7AF3A #CDC661 #DCD78F #EAE8BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC661#FFFFFF#000000##000000
##CDC6611.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)
#D5C057
Deuteranopia (green-blind)
#D7C566
Tritanopia (blue-blind)
#DABBAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc661;
/* rgb */ color: rgb(205, 198, 97);
/* oklch */ color: oklch(81.2% 0.124 105.2);
Tailwind
colors: {
  custom: {
    50: '#ded791',
    500: '#cdc661',
    950: '#000000',
  },
}
SCSS
$custom: #cdc661;
$custom-light: #ded791;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc661",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 97
  },
  "hsl": {
    "h": 56.111,
    "s": 51.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.81172,
    "c": 0.12359,
    "h": 105.2
  },
  "luminance": 0.5423
}

Semantic roles & 50–950 ramp

primary
#CDC661
secondary
#43488F
accent
#56DB4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC661

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

Preview Lab → · Contrast checker → · Palette generator →

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