#CDC659#CDC659

#CDC659 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.1% C 0.131 H 105.6°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#CDC659
RGBrgb(205, 198, 89)
HSLhsl(56, 54%, 58%)
HSVhsv(56, 57%, 80%)
CMYKcmyk(0%, 3.4%, 56.6%, 19.6%)
CIE-LABlab(78.51, -11.51, 54.41)
CIE-LCHlch(78.51, 55.62, 101.94°)
OKLaboklab(81.08% -0.0351 0.1262)
OKLCHoklch(81.08% 0.131 105.6)
XYZxyz(47.1756, 54.0901, 17.4047)
Luminance0.5409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC659 #5960CD
analogous
#CD8C59 #CDC659 #9ACD59
triadic
#CDC659 #59CDC6 #C659CD
tetradic
#CDC659 #59CD8C #5960CD #CD599A
square
#CDC659 #59CD8C #5960CD #CD599A
split-complementary
#CDC659 #599ACD #8C59CD
monochromatic
#847E28 #B3AB36 #CDC659 #DBD688 #E9E6B7

Accessibility & contrast

On white

1.78
#CDC659 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#CDC659 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC659
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC659#FFFFFF#000000##000000
##CDC6591.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4E
Deuteranopia (green-blind)
#D8C55F
Tritanopia (blue-blind)
#DBBAAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc659;
/* rgb */ color: rgb(205, 198, 89);
/* oklch */ color: oklch(81.1% 0.131 105.6);
Tailwind
colors: {
  custom: {
    50: '#dfd78c',
    500: '#cdc659',
    950: '#000000',
  },
}
SCSS
$custom: #cdc659;
$custom-light: #dfd78c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc659",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 89
  },
  "hsl": {
    "h": 56.379,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.8108,
    "c": 0.13095,
    "h": 105.6
  },
  "luminance": 0.54089
}

Semantic roles & 50–950 ramp

primary
#CDC659
secondary
#3F448B
accent
#54DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC659

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

Preview Lab → · Contrast checker → · Palette generator →

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