#CCCD7A#CCCD7A

#CCCD7A is a very light, moderate yellow. Relative luminance 0.579; OKLCH L 82.9% C 0.106 H 109.1°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#CCCD7A
RGBrgb(204, 205, 122)
HSLhsl(61, 45%, 64%)
HSVhsv(61, 40%, 80%)
CMYKcmyk(0.5%, 0%, 40.5%, 19.6%)
CIE-LABlab(80.69, -12.46, 41.15)
CIE-LCHlch(80.69, 42.99, 106.85°)
OKLaboklab(82.91% -0.0346 0.0998)
OKLCHoklch(82.91% 0.106 109.1)
XYZxyz(50.2467, 57.9062, 26.9387)
Luminance0.5790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD7A #7B7ACD
analogous
#CDA57A #CCCD7A #A3CD7A
triadic
#CCCD7A #7ACCCD #CD7ACC
tetradic
#CCCD7A #7ACDA5 #7B7ACD #CD7AA3
square
#CCCD7A #7ACDA5 #7B7ACD #CD7AA3
split-complementary
#CCCD7A #7AA3CD #A57ACD
monochromatic
#949538 #BBBC4E #CCCD7A #DDDEA6 #EEEED3

Accessibility & contrast

On white

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

On black

12.58
#CCCD7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD7A
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD7A#FFFFFF#000000##000000
##CCCD7A1.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C773
Deuteranopia (green-blind)
#DACA7E
Tritanopia (blue-blind)
#D7C4B9
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccd7a;
/* rgb */ color: rgb(204, 205, 122);
/* oklch */ color: oklch(82.9% 0.106 109.1);
Tailwind
colors: {
  custom: {
    50: '#dddca2',
    500: '#cccd7a',
    950: '#000000',
  },
}
SCSS
$custom: #cccd7a;
$custom-light: #dddca2;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd7a",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 122
  },
  "hsl": {
    "h": 60.723,
    "s": 45.355,
    "l": 64.118
  },
  "oklch": {
    "l": 0.82914,
    "c": 0.10563,
    "h": 109.1
  },
  "luminance": 0.57905
}

Semantic roles & 50–950 ramp

primary
#CCCD7A
secondary
#51509B
accent
#2DB92F
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CCCD7A

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

Preview Lab → · Contrast checker → · Palette generator →

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