#CDC75D#CDC75D

#CDC75D is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.3% C 0.128 H 105.9°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#CDC75D
RGBrgb(205, 199, 93)
HSLhsl(57, 53%, 58%)
HSVhsv(57, 55%, 80%)
CMYKcmyk(0%, 2.9%, 54.6%, 19.6%)
CIE-LABlab(78.82, -11.71, 52.93)
CIE-LCHlch(78.82, 54.21, 102.47°)
OKLaboklab(81.34% -0.0353 0.1234)
OKLCHoklch(81.34% 0.128 105.9)
XYZxyz(47.5774, 54.6177, 18.3899)
Luminance0.5462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC75D #5D63CD
analogous
#CD8F5D #CDC75D #9BCD5D
triadic
#CDC75D #5DCDC7 #C75DCD
tetradic
#CDC75D #5DCD8F #5D63CD #CD5D9B
square
#CDC75D #5DCD8F #5D63CD #CD5D9B
split-complementary
#CDC75D #5D9BCD #8F5DCD
monochromatic
#868129 #B5AE38 #CDC75D #DBD78C #EAE7BB

Accessibility & contrast

On white

1.76
#CDC75D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.92
#CDC75D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC75D
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC75D#FFFFFF#000000##000000
##CDC75D1.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C052
Deuteranopia (green-blind)
#D9C562
Tritanopia (blue-blind)
#DABBAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc75d;
/* rgb */ color: rgb(205, 199, 93);
/* oklch */ color: oklch(81.3% 0.128 105.9);
Tailwind
colors: {
  custom: {
    50: '#dfd78e',
    500: '#cdc75d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc75d;
$custom-light: #dfd78e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc75d",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 93
  },
  "hsl": {
    "h": 56.786,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81337,
    "c": 0.12836,
    "h": 105.9
  },
  "luminance": 0.54616
}

Semantic roles & 50–950 ramp

primary
#CDC75D
secondary
#41458D
accent
#53DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC75D

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

Preview Lab → · Contrast checker → · Palette generator →

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