#CDC54C#CDC54C

#CDC54C is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.7% C 0.141 H 105.5°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#CDC54C
RGBrgb(205, 197, 76)
HSLhsl(56, 56%, 55%)
HSVhsv(56, 63%, 80%)
CMYKcmyk(0%, 3.9%, 62.9%, 19.6%)
CIE-LABlab(78.13, -11.90, 59.69)
CIE-LCHlch(78.13, 60.86, 101.28°)
OKLaboklab(80.74% -0.0377 0.1357)
OKLCHoklch(80.74% 0.141 105.5)
XYZxyz(46.4493, 53.4350, 14.7033)
Luminance0.5343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC54C #4C54CD
analogous
#CD844C #CDC54C #95CD4C
triadic
#CDC54C #4CCDC5 #C54CCD
tetradic
#CDC54C #4CCD84 #4C54CD #CD4C95
square
#CDC54C #4CCD84 #4C54CD #CD4C95
split-complementary
#CDC54C #4C95CD #844CCD
monochromatic
#7C7623 #ACA430 #CDC54C #DAD57C #E8E4AC

Accessibility & contrast

On white

1.80
#CDC54C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#CDC54C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC54C
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC54C#FFFFFF#000000##000000
##CDC54C1.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE3D
Deuteranopia (green-blind)
#D8C453
Tritanopia (blue-blind)
#DBB9AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc54c;
/* rgb */ color: rgb(205, 197, 76);
/* oklch */ color: oklch(80.7% 0.141 105.5);
Tailwind
colors: {
  custom: {
    50: '#dfd683',
    500: '#cdc54c',
    950: '#000000',
  },
}
SCSS
$custom: #cdc54c;
$custom-light: #dfd683;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc54c",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 76
  },
  "hsl": {
    "h": 56.279,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80738,
    "c": 0.14079,
    "h": 105.5
  },
  "luminance": 0.53433
}

Semantic roles & 50–950 ramp

primary
#CDC54C
secondary
#393E84
accent
#52E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC54C

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

Preview Lab → · Contrast checker → · Palette generator →

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