#CDCC7F#CDCC7F

#CDCC7F is a very light, moderate yellow. Relative luminance 0.577; OKLCH L 82.9% C 0.099 H 107.7°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#CDCC7F
RGBrgb(205, 204, 127)
HSLhsl(59, 44%, 65%)
HSVhsv(59, 38%, 80%)
CMYKcmyk(0%, 0.5%, 38%, 19.6%)
CIE-LABlab(80.57, -11.01, 38.50)
CIE-LCHlch(80.57, 40.04, 105.97°)
OKLaboklab(82.87% -0.0301 0.0941)
OKLCHoklch(82.87% 0.099 107.7)
XYZxyz(50.6011, 57.6982, 28.5458)
Luminance0.5770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC7F #7F80CD
analogous
#CDA57F #CDCC7F #A7CD7F
triadic
#CDCC7F #7FCDCC #CC7FCD
tetradic
#CDCC7F #7FCDA5 #7F80CD #CD7FA7
square
#CDCC7F #7FCDA5 #7F80CD #CD7FA7
split-complementary
#CDCC7F #7FA7CD #A57FCD
monochromatic
#97963B #BCBA53 #CDCC7F #DEDEAB #EFEFD7

Accessibility & contrast

On white

1.67
#CDCC7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#CDCC7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC7F
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC7F#FFFFFF#000000##000000
##CDCC7F1.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C679
Deuteranopia (green-blind)
#D9C982
Tritanopia (blue-blind)
#D7C3B9
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcc7f;
/* rgb */ color: rgb(205, 204, 127);
/* oklch */ color: oklch(82.9% 0.099 107.7);
Tailwind
colors: {
  custom: {
    50: '#dddba5',
    500: '#cdcc7f',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc7f;
$custom-light: #dddba5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc7f",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 127
  },
  "hsl": {
    "h": 59.231,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.82865,
    "c": 0.09874,
    "h": 107.7
  },
  "luminance": 0.57697
}

Semantic roles & 50–950 ramp

primary
#CDCC7F
secondary
#53549D
accent
#30B72F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CDCC7F

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

Preview Lab → · Contrast checker → · Palette generator →

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