#CDC35D#CDC35D

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

Color values

HEX#CDC35D
RGBrgb(205, 195, 93)
HSLhsl(55, 53%, 58%)
HSVhsv(55, 55%, 80%)
CMYKcmyk(0%, 4.9%, 54.6%, 19.6%)
CIE-LABlab(77.76, -9.67, 51.71)
CIE-LCHlch(77.76, 52.60, 100.59°)
OKLaboklab(80.49% -0.0294 0.1208)
OKLCHoklch(80.49% 0.124 103.7)
XYZxyz(46.6692, 52.8012, 18.0871)
Luminance0.5280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC35D #5D67CD
analogous
#CD8B5D #CDC35D #9FCD5D
triadic
#CDC35D #5DCDC3 #C35DCD
tetradic
#CDC35D #5DCD8B #5D67CD #CD5D9F
square
#CDC35D #5DCD8B #5D67CD #CD5D9F
split-complementary
#CDC35D #5D9FCD #8B5DCD
monochromatic
#867E29 #B5AA38 #CDC35D #DBD48C #EAE6BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC35D#FFFFFF#000000##000000
##CDC35D1.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)
#D2BD53
Deuteranopia (green-blind)
#D6C362
Tritanopia (blue-blind)
#DBB7AC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc35d;
/* rgb */ color: rgb(205, 195, 93);
/* oklch */ color: oklch(80.5% 0.124 103.7);
Tailwind
colors: {
  custom: {
    50: '#dfd48e',
    500: '#cdc35d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc35d;
$custom-light: #dfd48e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc35d",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 93
  },
  "hsl": {
    "h": 54.643,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80492,
    "c": 0.12432,
    "h": 103.7
  },
  "luminance": 0.528
}

Semantic roles & 50–950 ramp

primary
#CDC35D
secondary
#41488D
accent
#58DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC35D

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

Preview Lab → · Contrast checker → · Palette generator →

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