#CCCD7D#CCCD7D

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

Color values

HEX#CCCD7D
RGBrgb(204, 205, 125)
HSLhsl(61, 44%, 65%)
HSVhsv(61, 39%, 80%)
CMYKcmyk(0.5%, 0%, 39%, 19.6%)
CIE-LABlab(80.73, -12.14, 39.69)
CIE-LCHlch(80.73, 41.51, 107.00°)
OKLaboklab(82.96% -0.0334 0.0967)
OKLCHoklch(82.96% 0.102 109.1)
XYZxyz(50.4355, 57.9817, 27.9328)
Luminance0.5798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD7D #7E7DCD
analogous
#CDA67D #CCCD7D #A4CD7D
triadic
#CCCD7D #7DCCCD #CD7DCC
tetradic
#CCCD7D #7DCDA6 #7E7DCD #CD7DA4
square
#CCCD7D #7DCDA6 #7E7DCD #CD7DA4
split-complementary
#CCCD7D #7DA4CD #A67DCD
monochromatic
#95963A #BBBC51 #CCCD7D #DDDEA9 #EFEFD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCD7D#FFFFFF#000000##000000
##CCCD7D1.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)
#D9C777
Deuteranopia (green-blind)
#DACA81
Tritanopia (blue-blind)
#D6C4B9
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccd7d;
/* rgb */ color: rgb(204, 205, 125);
/* oklch */ color: oklch(83.0% 0.102 109.1);
Tailwind
colors: {
  custom: {
    50: '#dddca4',
    500: '#cccd7d',
    950: '#000000',
  },
}
SCSS
$custom: #cccd7d;
$custom-light: #dddca4;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd7d",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 125
  },
  "hsl": {
    "h": 60.75,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.82962,
    "c": 0.10229,
    "h": 109.1
  },
  "luminance": 0.57981
}

Semantic roles & 50–950 ramp

primary
#CCCD7D
secondary
#53529C
accent
#2EB830
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CCCD7D

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

Preview Lab → · Contrast checker → · Palette generator →

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