#CDC35C#CDC35C

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

Color values

HEX#CDC35C
RGBrgb(205, 195, 92)
HSLhsl(55, 53%, 58%)
HSVhsv(55, 55%, 80%)
CMYKcmyk(0%, 4.9%, 55.1%, 19.6%)
CIE-LABlab(77.75, -9.75, 52.16)
CIE-LCHlch(77.75, 53.06, 100.59°)
OKLaboklab(80.48% -0.0298 0.1217)
OKLCHoklch(80.48% 0.125 103.8)
XYZxyz(46.6252, 52.7836, 17.8554)
Luminance0.5278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC35C #5C66CD
analogous
#CD8A5C #CDC35C #9ECD5C
triadic
#CDC35C #5CCDC3 #C35CCD
tetradic
#CDC35C #5CCD8A #5C66CD #CD5C9E
square
#CDC35C #5CCD8A #5C66CD #CD5C9E
split-complementary
#CDC35C #5C9ECD #8A5CCD
monochromatic
#867D29 #B4A937 #CDC35C #DBD48B #EAE5BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC35C#FFFFFF#000000##000000
##CDC35C1.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)
#D2BD52
Deuteranopia (green-blind)
#D6C361
Tritanopia (blue-blind)
#DBB7AC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc35c;
/* rgb */ color: rgb(205, 195, 92);
/* oklch */ color: oklch(80.5% 0.125 103.8);
Tailwind
colors: {
  custom: {
    50: '#dfd48d',
    500: '#cdc35c',
    950: '#000000',
  },
}
SCSS
$custom: #cdc35c;
$custom-light: #dfd48d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc35c",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 92
  },
  "hsl": {
    "h": 54.69,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.8048,
    "c": 0.12524,
    "h": 103.8
  },
  "luminance": 0.52782
}

Semantic roles & 50–950 ramp

primary
#CDC35C
secondary
#40478D
accent
#58DC4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC35C

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

Preview Lab → · Contrast checker → · Palette generator →

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