#CDCC55#CDCC55

#CDCC55 is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.3% C 0.141 H 108.7°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#CDCC55
RGBrgb(205, 204, 85)
HSLhsl(60, 55%, 57%)
HSVhsv(60, 59%, 80%)
CMYKcmyk(0%, 0.5%, 58.5%, 19.6%)
CIE-LABlab(80.08, -14.83, 57.94)
CIE-LCHlch(80.08, 59.81, 104.36°)
OKLaboklab(82.32% -0.045 0.1332)
OKLCHoklch(82.32% 0.141 108.7)
XYZxyz(48.4108, 56.8221, 17.0102)
Luminance0.5682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC55 #5556CD
analogous
#CD9055 #CDCC55 #92CD55
triadic
#CDCC55 #55CDCC #CC55CD
tetradic
#CDCC55 #55CD90 #5556CD #CD5592
square
#CDCC55 #55CD90 #5556CD #CD5592
split-complementary
#CDCC55 #5592CD #9055CD
monochromatic
#828126 #B1B034 #CDCC55 #DBDA84 #E9E8B4

Accessibility & contrast

On white

1.70
#CDCC55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#CDCC55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC55
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC55#FFFFFF#000000##000000
##CDCC551.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC448
Deuteranopia (green-blind)
#DDC95C
Tritanopia (blue-blind)
#DAC0B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcc55;
/* rgb */ color: rgb(205, 204, 85);
/* oklch */ color: oklch(82.3% 0.141 108.7);
Tailwind
colors: {
  custom: {
    50: '#dfdb89',
    500: '#cdcc55',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc55;
$custom-light: #dfdb89;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc55",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 85
  },
  "hsl": {
    "h": 59.5,
    "s": 54.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82315,
    "c": 0.14057,
    "h": 108.7
  },
  "luminance": 0.56821
}

Semantic roles & 50–950 ramp

primary
#CDCC55
secondary
#3D3E89
accent
#4BDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CDCC55

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

Preview Lab → · Contrast checker → · Palette generator →

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