#CCCD7E#CCCD7E

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

Color values

HEX#CCCD7E
RGBrgb(204, 205, 126)
HSLhsl(61, 44%, 65%)
HSVhsv(61, 39%, 80%)
CMYKcmyk(0.5%, 0%, 38.5%, 19.6%)
CIE-LABlab(80.74, -12.03, 39.21)
CIE-LCHlch(80.74, 41.01, 107.05°)
OKLaboklab(82.98% -0.033 0.0956)
OKLCHoklch(82.98% 0.101 109)
XYZxyz(50.4997, 58.0073, 28.2709)
Luminance0.5801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD7E #7F7ECD
analogous
#CDA67E #CCCD7E #A5CD7E
triadic
#CCCD7E #7ECCCD #CD7ECC
tetradic
#CCCD7E #7ECDA6 #7F7ECD #CD7EA5
square
#CCCD7E #7ECDA6 #7F7ECD #CD7EA5
split-complementary
#CCCD7E #7EA5CD #A67ECD
monochromatic
#95963A #BBBC52 #CCCD7E #DDDEAA #EFEFD6

Accessibility & contrast

On white

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

On black

12.60
#CCCD7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD7E
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD7E#FFFFFF#000000##000000
##CCCD7E1.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cccd7e;
/* rgb */ color: rgb(204, 205, 126);
/* oklch */ color: oklch(83.0% 0.101 109.0);
Tailwind
colors: {
  custom: {
    50: '#dddca4',
    500: '#cccd7e',
    950: '#000000',
  },
}
SCSS
$custom: #cccd7e;
$custom-light: #dddca4;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd7e",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 126
  },
  "hsl": {
    "h": 60.759,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.82978,
    "c": 0.10116,
    "h": 109
  },
  "luminance": 0.58006
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCCD7E

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

Preview Lab → · Contrast checker → · Palette generator →

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