#CCC266#CCC266

#CCC266 is a light, moderate yellow. Relative luminance 0.524; OKLCH L 80.3% C 0.115 H 103.1°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#CCC266
RGBrgb(204, 194, 102)
HSLhsl(54, 50%, 60%)
HSVhsv(54, 50%, 80%)
CMYKcmyk(0%, 4.9%, 50%, 20%)
CIE-LABlab(77.51, -8.81, 47.11)
CIE-LCHlch(77.51, 47.93, 100.59°)
OKLaboklab(80.31% -0.0259 0.1117)
OKLCHoklch(80.31% 0.115 103.1)
XYZxyz(46.5932, 52.3817, 20.2241)
Luminance0.5238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC266 #6670CC
analogous
#CC8F66 #CCC266 #A3CC66
triadic
#CCC266 #66CCC2 #C266CC
tetradic
#CCC266 #66CC8F #6670CC #CC66A3
square
#CCC266 #66CC8F #6670CC #CC66A3
split-complementary
#CCC266 #66A3CC #8F66CC
monochromatic
#8A812E #B8AC3D #CCC266 #DBD494 #EBE7C2

Accessibility & contrast

On white

1.83
#CCC266 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#CCC266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC266
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC266#FFFFFF#000000##000000
##CCC2661.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BD5E
Deuteranopia (green-blind)
#D4C26A
Tritanopia (blue-blind)
#D9B7AD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc266;
/* rgb */ color: rgb(204, 194, 102);
/* oklch */ color: oklch(80.3% 0.115 103.1);
Tailwind
colors: {
  custom: {
    50: '#ddd494',
    500: '#ccc266',
    950: '#000000',
  },
}
SCSS
$custom: #ccc266;
$custom-light: #ddd494;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc266",
  "rgb": {
    "r": 204,
    "g": 194,
    "b": 102
  },
  "hsl": {
    "h": 54.118,
    "s": 50,
    "l": 60
  },
  "oklch": {
    "l": 0.80306,
    "c": 0.11466,
    "h": 103.1
  },
  "luminance": 0.5238
}

Semantic roles & 50–950 ramp

primary
#CCC266
secondary
#464D91
accent
#5CDA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC266

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

Preview Lab → · Contrast checker → · Palette generator →

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