#CCCE7F#CCCE7F

#CCCE7F is a very light, moderate yellow. Relative luminance 0.585; OKLCH L 83.2% C 0.101 H 109.7°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#CCCE7F
RGBrgb(204, 206, 127)
HSLhsl(62, 45%, 65%)
HSVhsv(62, 38%, 81%)
CMYKcmyk(1%, 0%, 38.3%, 19.2%)
CIE-LABlab(81.02, -12.42, 39.06)
CIE-LCHlch(81.02, 40.99, 107.64°)
OKLaboklab(83.21% -0.0341 0.0953)
OKLCHoklch(83.21% 0.101 109.7)
XYZxyz(50.8045, 58.5132, 28.6924)
Luminance0.5851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCE7F #817FCE
analogous
#CEA87F #CCCE7F #A4CE7F
triadic
#CCCE7F #7FCCCE #CE7FCC
tetradic
#CCCE7F #7FCEA8 #817FCE #CE7FA4
square
#CCCE7F #7FCEA8 #817FCE #CE7FA4
split-complementary
#CCCE7F #7FA4CE #A87FCE
monochromatic
#96983A #BABD53 #CCCE7F #DEDFAB #EFF0D8

Accessibility & contrast

On white

1.65
#CCCE7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.70
#CCCE7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCE7F
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCE7F#FFFFFF#000000##000000
##CCCE7F1.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC879
Deuteranopia (green-blind)
#DACB82
Tritanopia (blue-blind)
#D6C5BB
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ccce7f;
/* rgb */ color: rgb(204, 206, 127);
/* oklch */ color: oklch(83.2% 0.101 109.7);
Tailwind
colors: {
  custom: {
    50: '#dddca5',
    500: '#ccce7f',
    950: '#000000',
  },
}
SCSS
$custom: #ccce7f;
$custom-light: #dddca5;
$custom-dark: #000000;
JSON
{
  "hex": "#ccce7f",
  "rgb": {
    "r": 204,
    "g": 206,
    "b": 127
  },
  "hsl": {
    "h": 61.519,
    "s": 44.633,
    "l": 65.294
  },
  "oklch": {
    "l": 0.83205,
    "c": 0.10124,
    "h": 109.7
  },
  "luminance": 0.58512
}

Semantic roles & 50–950 ramp

primary
#CCCE7F
secondary
#55539E
accent
#2EB831
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CCCE7F

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

Preview Lab → · Contrast checker → · Palette generator →

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