#CDCC7B#CDCC7B

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

Color values

HEX#CDCC7B
RGBrgb(205, 204, 123)
HSLhsl(59, 45%, 64%)
HSVhsv(59, 40%, 80%)
CMYKcmyk(0%, 0.5%, 40%, 19.6%)
CIE-LABlab(80.51, -11.45, 40.44)
CIE-LCHlch(80.51, 42.03, 105.81°)
OKLaboklab(82.8% -0.0316 0.0983)
OKLCHoklch(82.8% 0.103 107.8)
XYZxyz(50.3456, 57.5960, 27.2001)
Luminance0.5759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC7B #7B7CCD
analogous
#CDA37B #CDCC7B #A5CD7B
triadic
#CDCC7B #7BCDCC #CC7BCD
tetradic
#CDCC7B #7BCDA3 #7B7CCD #CD7BA5
square
#CDCC7B #7BCDA3 #7B7CCD #CD7BA5
split-complementary
#CDCC7B #7BA5CD #A37BCD
monochromatic
#959438 #BCBB4F #CDCC7B #DEDDA7 #EFEED4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCC7B#FFFFFF#000000##000000
##CDCC7B1.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)
#D8C675
Deuteranopia (green-blind)
#DAC97F
Tritanopia (blue-blind)
#D8C3B8
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcc7b;
/* rgb */ color: rgb(205, 204, 123);
/* oklch */ color: oklch(82.8% 0.103 107.8);
Tailwind
colors: {
  custom: {
    50: '#dddba2',
    500: '#cdcc7b',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc7b;
$custom-light: #dddba2;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc7b",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 123
  },
  "hsl": {
    "h": 59.268,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.82801,
    "c": 0.10323,
    "h": 107.8
  },
  "luminance": 0.57595
}

Semantic roles & 50–950 ramp

primary
#CDCC7B
secondary
#51529B
accent
#2FB82D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CDCC7B

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

Preview Lab → · Contrast checker → · Palette generator →

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