#CDCC54#CDCC54

#CDCC54 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#CDCC54
RGBrgb(205, 204, 84)
HSLhsl(60, 55%, 57%)
HSVhsv(60, 59%, 80%)
CMYKcmyk(0%, 0.5%, 59%, 19.6%)
CIE-LABlab(80.07, -14.90, 58.36)
CIE-LCHlch(80.07, 60.24, 104.32°)
OKLaboklab(82.31% -0.0453 0.134)
OKLCHoklch(82.31% 0.141 108.7)
XYZxyz(48.3714, 56.8063, 16.8024)
Luminance0.5681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC54 #5455CD
analogous
#CD9054 #CDCC54 #92CD54
triadic
#CDCC54 #54CDCC #CC54CD
tetradic
#CDCC54 #54CD90 #5455CD #CD5492
square
#CDCC54 #54CD90 #5455CD #CD5492
split-complementary
#CDCC54 #5492CD #9054CD
monochromatic
#818026 #B0AF34 #CDCC54 #DBDA83 #E9E8B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCC54#FFFFFF#000000##000000
##CDCC541.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)
#DBC446
Deuteranopia (green-blind)
#DDC95B
Tritanopia (blue-blind)
#DAC0B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcc54;
/* rgb */ color: rgb(205, 204, 84);
/* oklch */ color: oklch(82.3% 0.141 108.7);
Tailwind
colors: {
  custom: {
    50: '#dfdb89',
    500: '#cdcc54',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc54;
$custom-light: #dfdb89;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc54",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 84
  },
  "hsl": {
    "h": 59.504,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.82305,
    "c": 0.14141,
    "h": 108.7
  },
  "luminance": 0.56805
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDCC54

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

Preview Lab → · Contrast checker → · Palette generator →

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