#CCCF7F#CCCF7F

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

Color values

HEX#CCCF7F
RGBrgb(204, 207, 127)
HSLhsl(62, 45%, 65%)
HSVhsv(62, 39%, 81%)
CMYKcmyk(1.4%, 0%, 38.6%, 18.8%)
CIE-LABlab(81.29, -12.93, 39.40)
CIE-LCHlch(81.29, 41.46, 108.17°)
OKLaboklab(83.42% -0.0355 0.0961)
OKLCHoklch(83.42% 0.102 110.3)
XYZxyz(51.0460, 58.9962, 28.7729)
Luminance0.5899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCF7F #827FCF
analogous
#CFAA7F #CCCF7F #A4CF7F
triadic
#CCCF7F #7FCCCF #CF7FCC
tetradic
#CCCF7F #7FCFAA #827FCF #CF7FA4
square
#CCCF7F #7FCFAA #827FCF #CF7FA4
split-complementary
#CCCF7F #7FA4CF #AA7FCF
monochromatic
#969A3A #BABE52 #CCCF7F #DEE0AC #EFF0D8

Accessibility & contrast

On white

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

On black

12.80
#CCCF7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCF7F
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCF7F#FFFFFF#000000##000000
##CCCF7F1.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cccf7f;
/* rgb */ color: rgb(204, 207, 127);
/* oklch */ color: oklch(83.4% 0.102 110.3);
Tailwind
colors: {
  custom: {
    50: '#dddda5',
    500: '#cccf7f',
    950: '#000000',
  },
}
SCSS
$custom: #cccf7f;
$custom-light: #dddda5;
$custom-dark: #000000;
JSON
{
  "hex": "#cccf7f",
  "rgb": {
    "r": 204,
    "g": 207,
    "b": 127
  },
  "hsl": {
    "h": 62.25,
    "s": 45.455,
    "l": 65.49
  },
  "oklch": {
    "l": 0.83417,
    "c": 0.10246,
    "h": 110.3
  },
  "luminance": 0.58995
}

Semantic roles & 50–950 ramp

primary
#CCCF7F
secondary
#5553A0
accent
#2DB932
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CCCF7F

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

Preview Lab → · Contrast checker → · Palette generator →

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