#CDC35A#CDC35A

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

Color values

HEX#CDC35A
RGBrgb(205, 195, 90)
HSLhsl(55, 53%, 58%)
HSVhsv(55, 56%, 80%)
CMYKcmyk(0%, 4.9%, 56.1%, 19.6%)
CIE-LABlab(77.73, -9.90, 53.06)
CIE-LCHlch(77.73, 53.98, 100.57°)
OKLaboklab(80.46% -0.0304 0.1234)
OKLCHoklch(80.46% 0.127 103.9)
XYZxyz(46.5389, 52.7491, 17.4010)
Luminance0.5275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC35A #5A64CD
analogous
#CD8A5A #CDC35A #9DCD5A
triadic
#CDC35A #5ACDC3 #C35ACD
tetradic
#CDC35A #5ACD8A #5A64CD #CD5A9D
square
#CDC35A #5ACD8A #5A64CD #CD5A9D
split-complementary
#CDC35A #5A9DCD #8A5ACD
monochromatic
#847C28 #B3A936 #CDC35A #DBD489 #E9E5B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC35A#FFFFFF#000000##000000
##CDC35A1.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)
#D2BD4F
Deuteranopia (green-blind)
#D6C35F
Tritanopia (blue-blind)
#DBB7AC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc35a;
/* rgb */ color: rgb(205, 195, 90);
/* oklch */ color: oklch(80.5% 0.127 103.9);
Tailwind
colors: {
  custom: {
    50: '#dfd48c',
    500: '#cdc35a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc35a;
$custom-light: #dfd48c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc35a",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 90
  },
  "hsl": {
    "h": 54.783,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80457,
    "c": 0.12707,
    "h": 103.9
  },
  "luminance": 0.52748
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDC35A

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

Preview Lab → · Contrast checker → · Palette generator →

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