#CCCE6F#CCCE6F

#CCCE6F is a very light, moderate yellow. Relative luminance 0.581; OKLCH L 83.0% C 0.119 H 109.8°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#CCCE6F
RGBrgb(204, 206, 111)
HSLhsl(61, 49%, 62%)
HSVhsv(61, 46%, 81%)
CMYKcmyk(1%, 0%, 46.1%, 19.2%)
CIE-LABlab(80.81, -14.08, 46.73)
CIE-LCHlch(80.81, 48.80, 106.77°)
OKLaboklab(82.97% -0.0401 0.1116)
OKLCHoklch(82.97% 0.119 109.8)
XYZxyz(49.8433, 58.1287, 23.6302)
Luminance0.5813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCE6F #716FCE
analogous
#CEA16F #CCCE6F #9DCE6F
triadic
#CCCE6F #6FCCCE #CE6FCC
tetradic
#CCCE6F #6FCEA1 #716FCE #CE6F9D
square
#CCCE6F #6FCEA1 #716FCE #CE6F9D
split-complementary
#CCCE6F #6F9DCE #A16FCE
monochromatic
#8F9131 #BCBE41 #CCCE6F #DCDE9D #ECEDCA

Accessibility & contrast

On white

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

On black

12.63
#CCCE6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCE6F
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCE6F#FFFFFF#000000##000000
##CCCE6F1.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC767
Deuteranopia (green-blind)
#DCCA74
Tritanopia (blue-blind)
#D7C4B8
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ccce6f;
/* rgb */ color: rgb(204, 206, 111);
/* oklch */ color: oklch(83.0% 0.119 109.8);
Tailwind
colors: {
  custom: {
    50: '#dddc9a',
    500: '#ccce6f',
    950: '#000000',
  },
}
SCSS
$custom: #ccce6f;
$custom-light: #dddc9a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccce6f",
  "rgb": {
    "r": 204,
    "g": 206,
    "b": 111
  },
  "hsl": {
    "h": 61.263,
    "s": 49.223,
    "l": 62.157
  },
  "oklch": {
    "l": 0.82966,
    "c": 0.11856,
    "h": 109.8
  },
  "luminance": 0.58128
}

Semantic roles & 50–950 ramp

primary
#CCCE6F
secondary
#4B4A97
accent
#29BD2C
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCCE6F

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

Preview Lab → · Contrast checker → · Palette generator →

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