#CDC35B#CDC35B

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

Color values

HEX#CDC35B
RGBrgb(205, 195, 91)
HSLhsl(55, 53%, 58%)
HSVhsv(55, 56%, 80%)
CMYKcmyk(0%, 4.9%, 55.6%, 19.6%)
CIE-LABlab(77.74, -9.83, 52.61)
CIE-LCHlch(77.74, 53.52, 100.58°)
OKLaboklab(80.47% -0.0301 0.1225)
OKLCHoklch(80.47% 0.126 103.8)
XYZxyz(46.5818, 52.7663, 17.6267)
Luminance0.5276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC35B #5B65CD
analogous
#CD8A5B #CDC35B #9ECD5B
triadic
#CDC35B #5BCDC3 #C35BCD
tetradic
#CDC35B #5BCD8A #5B65CD #CD5B9E
square
#CDC35B #5BCD8A #5B65CD #CD5B9E
split-complementary
#CDC35B #5B9ECD #8A5BCD
monochromatic
#857D29 #B4A937 #CDC35B #DBD48A #EAE5B9

Accessibility & contrast

On white

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

On black

11.55
#CDC35B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC35B
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC35B#FFFFFF#000000##000000
##CDC35B1.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD51
Deuteranopia (green-blind)
#D6C360
Tritanopia (blue-blind)
#DBB7AC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc35b;
/* rgb */ color: rgb(205, 195, 91);
/* oklch */ color: oklch(80.5% 0.126 103.8);
Tailwind
colors: {
  custom: {
    50: '#dfd48d',
    500: '#cdc35b',
    950: '#000000',
  },
}
SCSS
$custom: #cdc35b;
$custom-light: #dfd48d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc35b",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 91
  },
  "hsl": {
    "h": 54.737,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.80468,
    "c": 0.12616,
    "h": 103.8
  },
  "luminance": 0.52765
}

Semantic roles & 50–950 ramp

primary
#CDC35B
secondary
#40478C
accent
#58DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC35B

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

Preview Lab → · Contrast checker → · Palette generator →

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