#CCCC7E#CCCC7E

#CCCC7E is a very light, moderate yellow. Relative luminance 0.575; OKLCH L 82.8% C 0.100 H 108.4°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#CCCC7E
RGBrgb(204, 204, 126)
HSLhsl(60, 43%, 65%)
HSVhsv(60, 38%, 80%)
CMYKcmyk(0%, 0%, 38.2%, 20%)
CIE-LABlab(80.48, -11.52, 38.87)
CIE-LCHlch(80.48, 40.54, 106.51°)
OKLaboklab(82.77% -0.0315 0.0949)
OKLCHoklch(82.77% 0.1 108.4)
XYZxyz(50.2613, 57.5305, 28.1914)
Luminance0.5753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCC7E #7E7ECC
analogous
#CCA57E #CCCC7E #A5CC7E
triadic
#CCCC7E #7ECCCC #CC7ECC
tetradic
#CCCC7E #7ECCA5 #7E7ECC #CC7EA5
square
#CCCC7E #7ECCA5 #7E7ECC #CC7EA5
split-complementary
#CCCC7E #7EA5CC #A57ECC
monochromatic
#95953B #BBBB52 #CCCC7E #DDDDAA #EFEFD6

Accessibility & contrast

On white

1.68
#CCCC7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.51
#CCCC7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCC7E
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCC7E#FFFFFF#000000##000000
##CCCC7E1.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C678
Deuteranopia (green-blind)
#D9C981
Tritanopia (blue-blind)
#D6C3B9
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccc7e;
/* rgb */ color: rgb(204, 204, 126);
/* oklch */ color: oklch(82.8% 0.100 108.4);
Tailwind
colors: {
  custom: {
    50: '#dddba4',
    500: '#cccc7e',
    950: '#000000',
  },
}
SCSS
$custom: #cccc7e;
$custom-light: #dddba4;
$custom-dark: #000000;
JSON
{
  "hex": "#cccc7e",
  "rgb": {
    "r": 204,
    "g": 204,
    "b": 126
  },
  "hsl": {
    "h": 60,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.82766,
    "c": 0.09997,
    "h": 108.4
  },
  "luminance": 0.57529
}

Semantic roles & 50–950 ramp

primary
#CCCC7E
secondary
#53539B
accent
#2FB62F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CCCC7E

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

Preview Lab → · Contrast checker → · Palette generator →

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