#CDC354#CDC354

#CDC354 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.4% C 0.132 H 104.2°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#CDC354
RGBrgb(205, 195, 84)
HSLhsl(55, 55%, 57%)
HSVhsv(55, 59%, 80%)
CMYKcmyk(0%, 4.9%, 59%, 19.6%)
CIE-LABlab(77.67, -10.35, 55.72)
CIE-LCHlch(77.67, 56.67, 100.52°)
OKLaboklab(80.39% -0.0324 0.1283)
OKLCHoklch(80.39% 0.132 104.2)
XYZxyz(46.2938, 52.6511, 16.1099)
Luminance0.5265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC354 #545ECD
analogous
#CD8754 #CDC354 #9BCD54
triadic
#CDC354 #54CDC3 #C354CD
tetradic
#CDC354 #54CD87 #545ECD #CD549B
square
#CDC354 #54CD87 #545ECD #CD549B
split-complementary
#CDC354 #549BCD #8754CD
monochromatic
#817926 #B0A634 #CDC354 #DBD483 #E9E4B3

Accessibility & contrast

On white

1.82
#CDC354 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#CDC354 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC354
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC354#FFFFFF#000000##000000
##CDC3541.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD48
Deuteranopia (green-blind)
#D6C25A
Tritanopia (blue-blind)
#DBB7AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc354;
/* rgb */ color: rgb(205, 195, 84);
/* oklch */ color: oklch(80.4% 0.132 104.2);
Tailwind
colors: {
  custom: {
    50: '#dfd488',
    500: '#cdc354',
    950: '#000000',
  },
}
SCSS
$custom: #cdc354;
$custom-light: #dfd488;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc354",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 84
  },
  "hsl": {
    "h": 55.041,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.80392,
    "c": 0.13234,
    "h": 104.2
  },
  "luminance": 0.52649
}

Semantic roles & 50–950 ramp

primary
#CDC354
secondary
#3D4388
accent
#56DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CDC354

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

Preview Lab → · Contrast checker → · Palette generator →

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