#CDC75C#CDC75C

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

Color values

HEX#CDC75C
RGBrgb(205, 199, 92)
HSLhsl(57, 53%, 58%)
HSVhsv(57, 55%, 80%)
CMYKcmyk(0%, 2.9%, 55.1%, 19.6%)
CIE-LABlab(78.81, -11.79, 53.38)
CIE-LCHlch(78.81, 54.67, 102.45°)
OKLaboklab(81.33% -0.0356 0.1243)
OKLCHoklch(81.33% 0.129 106)
XYZxyz(47.5334, 54.6001, 18.1581)
Luminance0.5460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC75C #5C62CD
analogous
#CD8E5C #CDC75C #9ACD5C
triadic
#CDC75C #5CCDC7 #C75CCD
tetradic
#CDC75C #5CCD8E #5C62CD #CD5C9A
square
#CDC75C #5CCD8E #5C62CD #CD5C9A
split-complementary
#CDC75C #5C9ACD #8E5CCD
monochromatic
#868129 #B4AE37 #CDC75C #DBD78B #EAE7BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC75C#FFFFFF#000000##000000
##CDC75C1.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)
#D6C051
Deuteranopia (green-blind)
#D9C562
Tritanopia (blue-blind)
#DABBAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc75c;
/* rgb */ color: rgb(205, 199, 92);
/* oklch */ color: oklch(81.3% 0.129 106.0);
Tailwind
colors: {
  custom: {
    50: '#dfd78d',
    500: '#cdc75c',
    950: '#000000',
  },
}
SCSS
$custom: #cdc75c;
$custom-light: #dfd78d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc75c",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 92
  },
  "hsl": {
    "h": 56.814,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81325,
    "c": 0.12927,
    "h": 106
  },
  "luminance": 0.54599
}

Semantic roles & 50–950 ramp

primary
#CDC75C
secondary
#40458D
accent
#53DC4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC75C

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

Preview Lab → · Contrast checker → · Palette generator →

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