#CCCF7E#CCCF7E

#CCCF7E is a very light, moderate yellow. Relative luminance 0.590; OKLCH L 83.4% C 0.104 H 110.3°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#CCCF7E
RGBrgb(204, 207, 126)
HSLhsl(62, 46%, 65%)
HSVhsv(62, 39%, 81%)
CMYKcmyk(1.4%, 0%, 39.1%, 18.8%)
CIE-LABlab(81.28, -13.04, 39.88)
CIE-LCHlch(81.28, 41.96, 108.10°)
OKLaboklab(83.4% -0.0359 0.0972)
OKLCHoklch(83.4% 0.104 110.3)
XYZxyz(50.9812, 58.9703, 28.4314)
Luminance0.5897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF7E #817ECF
analogous
#CFA97E #CCCF7E #A3CF7E
triadic
#CCCF7E #7ECCCF #CF7ECC
tetradic
#CCCF7E #7ECFA9 #817ECF #CF7EA3
square
#CCCF7E #7ECFA9 #817ECF #CF7EA3
split-complementary
#CCCF7E #7EA3CF #A97ECF
monochromatic
#969939 #BABE51 #CCCF7E #DEE0AB #EFF0D7

Accessibility & contrast

On white

1.64
#CCCF7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#CCCF7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCF7E
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCF7E#FFFFFF#000000##000000
##CCCF7E1.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC878
Deuteranopia (green-blind)
#DBCB82
Tritanopia (blue-blind)
#D6C6BB
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cccf7e;
/* rgb */ color: rgb(204, 207, 126);
/* oklch */ color: oklch(83.4% 0.104 110.3);
Tailwind
colors: {
  custom: {
    50: '#dddda4',
    500: '#cccf7e',
    950: '#000000',
  },
}
SCSS
$custom: #cccf7e;
$custom-light: #dddda4;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf7e",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 126
  },
  "hsl": {
    "h": 62.222,
    "s": 45.763,
    "l": 65.294
  },
  "oklch": {
    "l": 0.83401,
    "c": 0.10359,
    "h": 110.3
  },
  "luminance": 0.58969
}

Semantic roles & 50–950 ramp

primary
#CCCF7E
secondary
#55529F
accent
#2DB932
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CCCF7E

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

Preview Lab → · Contrast checker → · Palette generator →

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