#CCCE74#CCCE74

#CCCE74 is a very light, moderate yellow. Relative luminance 0.582; OKLCH L 83.0% C 0.113 H 109.7°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#CCCE74
RGBrgb(204, 206, 116)
HSLhsl(61, 48%, 63%)
HSVhsv(61, 44%, 81%)
CMYKcmyk(1%, 0%, 43.7%, 19.2%)
CIE-LABlab(80.87, -13.59, 44.36)
CIE-LCHlch(80.87, 46.39, 107.03°)
OKLaboklab(83.04% -0.0383 0.1067)
OKLCHoklch(83.04% 0.113 109.7)
XYZxyz(50.1264, 58.2420, 25.1209)
Luminance0.5824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCE74 #7674CE
analogous
#CEA374 #CCCE74 #9FCE74
triadic
#CCCE74 #74CCCE #CE74CC
tetradic
#CCCE74 #74CEA3 #7674CE #CE749F
square
#CCCE74 #74CEA3 #7674CE #CE749F
split-complementary
#CCCE74 #749FCE #A374CE
monochromatic
#919434 #BBBE47 #CCCE74 #DDDEA1 #EDEECE

Accessibility & contrast

On white

1.66
#CCCE74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.65
#CCCE74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCE74
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCE74#FFFFFF#000000##000000
##CCCE741.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC76D
Deuteranopia (green-blind)
#DCCA78
Tritanopia (blue-blind)
#D7C4B9
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ccce74;
/* rgb */ color: rgb(204, 206, 116);
/* oklch */ color: oklch(83.0% 0.113 109.7);
Tailwind
colors: {
  custom: {
    50: '#dddc9e',
    500: '#ccce74',
    950: '#000000',
  },
}
SCSS
$custom: #ccce74;
$custom-light: #dddc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccce74",
  "rgb": {
    "r": 204,
    "g": 206,
    "b": 116
  },
  "hsl": {
    "h": 61.333,
    "s": 47.872,
    "l": 63.137
  },
  "oklch": {
    "l": 0.83037,
    "c": 0.11332,
    "h": 109.7
  },
  "luminance": 0.58241
}

Semantic roles & 50–950 ramp

primary
#CCCE74
secondary
#4E4D9A
accent
#2ABB2E
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCCE74

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

Preview Lab → · Contrast checker → · Palette generator →

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