#CDC95C#CDC95C

#CDC95C is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.8% C 0.131 H 107.0°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#CDC95C
RGBrgb(205, 201, 92)
HSLhsl(58, 53%, 58%)
HSVhsv(58, 55%, 80%)
CMYKcmyk(0%, 2%, 55.1%, 19.6%)
CIE-LABlab(79.34, -12.80, 53.99)
CIE-LCHlch(79.34, 55.48, 103.34°)
OKLaboklab(81.75% -0.0385 0.1256)
OKLCHoklch(81.75% 0.131 107)
XYZxyz(47.9966, 55.5265, 18.3125)
Luminance0.5553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC95C #5C60CD
analogous
#CD905C #CDC95C #98CD5C
triadic
#CDC95C #5CCDC9 #C95CCD
tetradic
#CDC95C #5CCD90 #5C60CD #CD5C98
square
#CDC95C #5CCD90 #5C60CD #CD5C98
split-complementary
#CDC95C #5C98CD #905CCD
monochromatic
#868229 #B4B037 #CDC95C #DBD98B #EAE8BA

Accessibility & contrast

On white

1.73
#CDC95C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#CDC95C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC95C
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC95C#FFFFFF#000000##000000
##CDC95C1.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C251
Deuteranopia (green-blind)
#DAC762
Tritanopia (blue-blind)
#DABDB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdc95c;
/* rgb */ color: rgb(205, 201, 92);
/* oklch */ color: oklch(81.8% 0.131 107.0);
Tailwind
colors: {
  custom: {
    50: '#dfd98e',
    500: '#cdc95c',
    950: '#000000',
  },
}
SCSS
$custom: #cdc95c;
$custom-light: #dfd98e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc95c",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 92
  },
  "hsl": {
    "h": 57.876,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.8175,
    "c": 0.13135,
    "h": 107
  },
  "luminance": 0.55525
}

Semantic roles & 50–950 ramp

primary
#CDC95C
secondary
#40438D
accent
#50DC4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC95C

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

Preview Lab → · Contrast checker → · Palette generator →

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