#CDC35E#CDC35E

#CDC35E is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.5% C 0.123 H 103.6°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#CDC35E
RGBrgb(205, 195, 94)
HSLhsl(55, 53%, 59%)
HSVhsv(55, 54%, 80%)
CMYKcmyk(0%, 4.9%, 54.1%, 19.6%)
CIE-LABlab(77.77, -9.59, 51.25)
CIE-LCHlch(77.77, 52.14, 100.60°)
OKLaboklab(80.5% -0.0291 0.1199)
OKLCHoklch(80.5% 0.123 103.6)
XYZxyz(46.7138, 52.8191, 18.3219)
Luminance0.5282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC35E #5E68CD
analogous
#CD8B5E #CDC35E #9FCD5E
triadic
#CDC35E #5ECDC3 #C35ECD
tetradic
#CDC35E #5ECD8B #5E68CD #CD5E9F
square
#CDC35E #5ECD8B #5E68CD #CD5E9F
split-complementary
#CDC35E #5E9FCD #8B5ECD
monochromatic
#877E2A #B5AA38 #CDC35E #DCD48D #EAE6BB

Accessibility & contrast

On white

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

On black

11.56
#CDC35E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC35E
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC35E#FFFFFF#000000##000000
##CDC35E1.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD54
Deuteranopia (green-blind)
#D5C363
Tritanopia (blue-blind)
#DAB8AC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc35e;
/* rgb */ color: rgb(205, 195, 94);
/* oklch */ color: oklch(80.5% 0.123 103.6);
Tailwind
colors: {
  custom: {
    50: '#dfd48f',
    500: '#cdc35e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc35e;
$custom-light: #dfd48f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc35e",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 94
  },
  "hsl": {
    "h": 54.595,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.80503,
    "c": 0.12339,
    "h": 103.6
  },
  "luminance": 0.52818
}

Semantic roles & 50–950 ramp

primary
#CDC35E
secondary
#41488E
accent
#59DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC35E

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

Preview Lab → · Contrast checker → · Palette generator →

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