#CDC358#CDC358

#CDC358 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.4% C 0.129 H 104.0°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#CDC358
RGBrgb(205, 195, 88)
HSLhsl(55, 54%, 57%)
HSVhsv(55, 57%, 80%)
CMYKcmyk(0%, 4.9%, 57.1%, 19.6%)
CIE-LABlab(77.71, -10.06, 53.96)
CIE-LCHlch(77.71, 54.89, 100.56°)
OKLaboklab(80.44% -0.0311 0.1251)
OKLCHoklch(80.44% 0.129 104)
XYZxyz(46.4549, 52.7155, 16.9587)
Luminance0.5271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC358 #5862CD
analogous
#CD8958 #CDC358 #9CCD58
triadic
#CDC358 #58CDC3 #C358CD
tetradic
#CDC358 #58CD89 #5862CD #CD589C
square
#CDC358 #58CD89 #5862CD #CD589C
split-complementary
#CDC358 #589CCD #8958CD
monochromatic
#837B27 #B2A835 #CDC358 #DBD487 #E9E5B6

Accessibility & contrast

On white

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

On black

11.54
#CDC358 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC358
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC358#FFFFFF#000000##000000
##CDC3581.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc358;
/* rgb */ color: rgb(205, 195, 88);
/* oklch */ color: oklch(80.4% 0.129 104.0);
Tailwind
colors: {
  custom: {
    50: '#dfd48b',
    500: '#cdc358',
    950: '#000000',
  },
}
SCSS
$custom: #cdc358;
$custom-light: #dfd48b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc358",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 88
  },
  "hsl": {
    "h": 54.872,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80435,
    "c": 0.12886,
    "h": 104
  },
  "luminance": 0.52714
}

Semantic roles & 50–950 ramp

primary
#CDC358
secondary
#3F458B
accent
#57DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC358

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

Preview Lab → · Contrast checker → · Palette generator →

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