#CDCC7C#CDCC7C

#CDCC7C is a very light, moderate yellow. Relative luminance 0.576; OKLCH L 82.8% C 0.102 H 107.8°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#CDCC7C
RGBrgb(205, 204, 124)
HSLhsl(59, 45%, 65%)
HSVhsv(59, 40%, 80%)
CMYKcmyk(0%, 0.5%, 39.5%, 19.6%)
CIE-LABlab(80.53, -11.34, 39.96)
CIE-LCHlch(80.53, 41.54, 105.85°)
OKLaboklab(82.82% -0.0312 0.0972)
OKLCHoklch(82.82% 0.102 107.8)
XYZxyz(50.4085, 57.6212, 27.5314)
Luminance0.5762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC7C #7C7DCD
analogous
#CDA47C #CDCC7C #A6CD7C
triadic
#CDCC7C #7CCDCC #CC7CCD
tetradic
#CDCC7C #7CCDA4 #7C7DCD #CD7CA6
square
#CDCC7C #7CCDA4 #7C7DCD #CD7CA6
split-complementary
#CDCC7C #7CA6CD #A47CCD
monochromatic
#969439 #BCBB50 #CDCC7C #DEDDA8 #EFEED5

Accessibility & contrast

On white

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

On black

12.52
#CDCC7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC7C
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC7C#FFFFFF#000000##000000
##CDCC7C1.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C676
Deuteranopia (green-blind)
#DAC97F
Tritanopia (blue-blind)
#D8C3B8
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcc7c;
/* rgb */ color: rgb(205, 204, 124);
/* oklch */ color: oklch(82.8% 0.102 107.8);
Tailwind
colors: {
  custom: {
    50: '#dddba3',
    500: '#cdcc7c',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc7c;
$custom-light: #dddba3;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc7c",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 124
  },
  "hsl": {
    "h": 59.259,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.82817,
    "c": 0.10213,
    "h": 107.8
  },
  "luminance": 0.5762
}

Semantic roles & 50–950 ramp

primary
#CDCC7C
secondary
#51529C
accent
#2FB82E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CDCC7C

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

Preview Lab → · Contrast checker → · Palette generator →

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