#CCCD7F#CCCD7F

#CCCD7F is a very light, moderate yellow. Relative luminance 0.580; OKLCH L 83.0% C 0.100 H 109.0°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#CCCD7F
RGBrgb(204, 205, 127)
HSLhsl(61, 44%, 65%)
HSVhsv(61, 38%, 80%)
CMYKcmyk(0.5%, 0%, 38%, 19.6%)
CIE-LABlab(80.76, -11.92, 38.72)
CIE-LCHlch(80.76, 40.51, 107.11°)
OKLaboklab(82.99% -0.0326 0.0946)
OKLCHoklch(82.99% 0.1 109)
XYZxyz(50.5645, 58.0333, 28.6124)
Luminance0.5803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD7F #807FCD
analogous
#CDA77F #CCCD7F #A5CD7F
triadic
#CCCD7F #7FCCCD #CD7FCC
tetradic
#CCCD7F #7FCDA7 #807FCD #CD7FA5
square
#CCCD7F #7FCDA7 #807FCD #CD7FA5
split-complementary
#CCCD7F #7FA5CD #A77FCD
monochromatic
#96973B #BABC53 #CCCD7F #DEDEAB #EFEFD7

Accessibility & contrast

On white

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

On black

12.61
#CCCD7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD7F
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD7F#FFFFFF#000000##000000
##CCCD7F1.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C779
Deuteranopia (green-blind)
#DACA82
Tritanopia (blue-blind)
#D6C4BA
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccd7f;
/* rgb */ color: rgb(204, 205, 127);
/* oklch */ color: oklch(83.0% 0.100 109.0);
Tailwind
colors: {
  custom: {
    50: '#dddca5',
    500: '#cccd7f',
    950: '#000000',
  },
}
SCSS
$custom: #cccd7f;
$custom-light: #dddca5;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd7f",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 127
  },
  "hsl": {
    "h": 60.769,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.82994,
    "c": 0.10003,
    "h": 109
  },
  "luminance": 0.58032
}

Semantic roles & 50–950 ramp

primary
#CCCD7F
secondary
#54539D
accent
#2FB730
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CCCD7F

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

Preview Lab → · Contrast checker → · Palette generator →

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