#CDC855#CDC855

#CDC855 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.5% C 0.136 H 106.7°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#CDC855
RGBrgb(205, 200, 85)
HSLhsl(58, 55%, 57%)
HSVhsv(58, 59%, 80%)
CMYKcmyk(0%, 2.4%, 58.5%, 19.6%)
CIE-LABlab(79.01, -12.82, 56.76)
CIE-LCHlch(79.01, 58.19, 102.72°)
OKLaboklab(81.46% -0.0393 0.1307)
OKLCHoklch(81.46% 0.136 106.7)
XYZxyz(47.4723, 54.9450, 16.6973)
Luminance0.5494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC855 #555ACD
analogous
#CD8C55 #CDC855 #96CD55
triadic
#CDC855 #55CDC8 #C855CD
tetradic
#CDC855 #55CD8C #555ACD #CD5596
square
#CDC855 #55CD8C #555ACD #CD5596
split-complementary
#CDC855 #5596CD #8C55CD
monochromatic
#827E26 #B1AC34 #CDC855 #DBD784 #E9E7B4

Accessibility & contrast

On white

1.75
#CDC855 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.99
#CDC855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC855
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC855#FFFFFF#000000##000000
##CDC8551.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C148
Deuteranopia (green-blind)
#DAC65B
Tritanopia (blue-blind)
#DBBCAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc855;
/* rgb */ color: rgb(205, 200, 85);
/* oklch */ color: oklch(81.5% 0.136 106.7);
Tailwind
colors: {
  custom: {
    50: '#dfd889',
    500: '#cdc855',
    950: '#000000',
  },
}
SCSS
$custom: #cdc855;
$custom-light: #dfd889;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc855",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 85
  },
  "hsl": {
    "h": 57.5,
    "s": 54.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81462,
    "c": 0.13644,
    "h": 106.7
  },
  "luminance": 0.54944
}

Semantic roles & 50–950 ramp

primary
#CDC855
secondary
#3D4089
accent
#50DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CDC855

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

Preview Lab → · Contrast checker → · Palette generator →

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