#CDC54D#CDC54D

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

Color values

HEX#CDC54D
RGBrgb(205, 197, 77)
HSLhsl(56, 56%, 55%)
HSVhsv(56, 62%, 80%)
CMYKcmyk(0%, 3.9%, 62.4%, 19.6%)
CIE-LABlab(78.14, -11.84, 59.27)
CIE-LCHlch(78.14, 60.44, 101.29°)
OKLaboklab(80.75% -0.0374 0.1349)
OKLCHoklch(80.75% 0.14 105.5)
XYZxyz(46.4843, 53.4491, 14.8878)
Luminance0.5345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC54D #4D55CD
analogous
#CD854D #CDC54D #95CD4D
triadic
#CDC54D #4DCDC5 #C54DCD
tetradic
#CDC54D #4DCD85 #4D55CD #CD4D95
square
#CDC54D #4DCD85 #4D55CD #CD4D95
split-complementary
#CDC54D #4D95CD #854DCD
monochromatic
#7D7723 #ACA530 #CDC54D #DAD57D #E8E4AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC54D#FFFFFF#000000##000000
##CDC54D1.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)
#D5BE3E
Deuteranopia (green-blind)
#D8C454
Tritanopia (blue-blind)
#DBB9AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc54d;
/* rgb */ color: rgb(205, 197, 77);
/* oklch */ color: oklch(80.7% 0.140 105.5);
Tailwind
colors: {
  custom: {
    50: '#dfd684',
    500: '#cdc54d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc54d;
$custom-light: #dfd684;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc54d",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 77
  },
  "hsl": {
    "h": 56.25,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.80747,
    "c": 0.14001,
    "h": 105.5
  },
  "luminance": 0.53447
}

Semantic roles & 50–950 ramp

primary
#CDC54D
secondary
#3A3E84
accent
#52DF48
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC54D

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

Preview Lab → · Contrast checker → · Palette generator →

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