#CDC655#CDC655

#CDC655 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.0% C 0.134 H 105.7°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#CDC655
RGBrgb(205, 198, 85)
HSLhsl(57, 55%, 57%)
HSVhsv(57, 59%, 80%)
CMYKcmyk(0%, 3.4%, 58.5%, 19.6%)
CIE-LABlab(78.48, -11.80, 56.17)
CIE-LCHlch(78.48, 57.39, 101.87°)
OKLaboklab(81.04% -0.0364 0.1294)
OKLCHoklch(81.04% 0.134 105.7)
XYZxyz(47.0121, 54.0247, 16.5440)
Luminance0.5402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC655 #555CCD
analogous
#CD8A55 #CDC655 #98CD55
triadic
#CDC655 #55CDC6 #C655CD
tetradic
#CDC655 #55CD8A #555CCD #CD5598
square
#CDC655 #55CD8A #555CCD #CD5598
split-complementary
#CDC655 #5598CD #8A55CD
monochromatic
#827C26 #B1AA34 #CDC655 #DBD684 #E9E6B4

Accessibility & contrast

On white

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

On black

11.80
#CDC655 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC655
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC655#FFFFFF#000000##000000
##CDC6551.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc655;
/* rgb */ color: rgb(205, 198, 85);
/* oklch */ color: oklch(81.0% 0.134 105.7);
Tailwind
colors: {
  custom: {
    50: '#dfd789',
    500: '#cdc655',
    950: '#000000',
  },
}
SCSS
$custom: #cdc655;
$custom-light: #dfd789;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc655",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 85
  },
  "hsl": {
    "h": 56.5,
    "s": 54.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81037,
    "c": 0.13443,
    "h": 105.7
  },
  "luminance": 0.54023
}

Semantic roles & 50–950 ramp

primary
#CDC655
secondary
#3D4289
accent
#53DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CDC655

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

Preview Lab → · Contrast checker → · Palette generator →

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