#CDCC75#CDCC75

#CDCC75 is a very light, moderate yellow. Relative luminance 0.574; OKLCH L 82.7% C 0.110 H 108.0°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#CDCC75
RGBrgb(205, 204, 117)
HSLhsl(59, 47%, 63%)
HSVhsv(59, 43%, 80%)
CMYKcmyk(0%, 0.5%, 42.9%, 19.6%)
CIE-LABlab(80.43, -12.08, 43.34)
CIE-LCHlch(80.43, 44.99, 105.57°)
OKLaboklab(82.71% -0.0339 0.1044)
OKLCHoklch(82.71% 0.11 108)
XYZxyz(49.9815, 57.4503, 25.2823)
Luminance0.5745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC75 #7576CD
analogous
#CDA075 #CDCC75 #A2CD75
triadic
#CDCC75 #75CDCC #CC75CD
tetradic
#CDCC75 #75CDA0 #7576CD #CD75A2
square
#CDCC75 #75CDA0 #7576CD #CD75A2
split-complementary
#CDCC75 #75A2CD #A075CD
monochromatic
#939135 #BDBB48 #CDCC75 #DDDDA2 #EEEDCF

Accessibility & contrast

On white

1.68
#CDCC75 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.49
#CDCC75 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC75
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC75#FFFFFF#000000##000000
##CDCC751.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C66E
Deuteranopia (green-blind)
#DAC979
Tritanopia (blue-blind)
#D8C2B7
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcc75;
/* rgb */ color: rgb(205, 204, 117);
/* oklch */ color: oklch(82.7% 0.110 108.0);
Tailwind
colors: {
  custom: {
    50: '#dedb9e',
    500: '#cdcc75',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc75;
$custom-light: #dedb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc75",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 117
  },
  "hsl": {
    "h": 59.318,
    "s": 46.809,
    "l": 63.137
  },
  "oklch": {
    "l": 0.8271,
    "c": 0.1098,
    "h": 108
  },
  "luminance": 0.57449
}

Semantic roles & 50–950 ramp

primary
#CDCC75
secondary
#4D4E99
accent
#2DBA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDCC75

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

Preview Lab → · Contrast checker → · Palette generator →

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