#CDC35F#CDC35F

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

Color values

HEX#CDC35F
RGBrgb(205, 195, 95)
HSLhsl(55, 52%, 59%)
HSVhsv(55, 54%, 80%)
CMYKcmyk(0%, 4.9%, 53.7%, 19.6%)
CIE-LABlab(77.78, -9.51, 50.80)
CIE-LCHlch(77.78, 51.68, 100.60°)
OKLaboklab(80.52% -0.0288 0.119)
OKLCHoklch(80.52% 0.122 103.6)
XYZxyz(46.7589, 52.8371, 18.5598)
Luminance0.5284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC35F #5F69CD
analogous
#CD8C5F #CDC35F #A0CD5F
triadic
#CDC35F #5FCDC3 #C35FCD
tetradic
#CDC35F #5FCD8C #5F69CD #CD5FA0
square
#CDC35F #5FCD8C #5F69CD #CD5FA0
split-complementary
#CDC35F #5FA0CD #8C5FCD
monochromatic
#877F2A #B6AB39 #CDC35F #DCD48E #EAE6BC

Accessibility & contrast

On white

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

On black

11.57
#CDC35F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC35F
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC35F#FFFFFF#000000##000000
##CDC35F1.001.8211.5711.57
#FFFFFF1.821.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc35f;
/* rgb */ color: rgb(205, 195, 95);
/* oklch */ color: oklch(80.5% 0.122 103.6);
Tailwind
colors: {
  custom: {
    50: '#ded48f',
    500: '#cdc35f',
    950: '#000000',
  },
}
SCSS
$custom: #cdc35f;
$custom-light: #ded48f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc35f",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 95
  },
  "hsl": {
    "h": 54.545,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.80515,
    "c": 0.12245,
    "h": 103.6
  },
  "luminance": 0.52836
}

Semantic roles & 50–950 ramp

primary
#CDC35F
secondary
#42498E
accent
#59DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC35F

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

Preview Lab → · Contrast checker → · Palette generator →

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