#CCD266#CCD266

#CCD266 is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 83.7% C 0.132 H 111.8°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#CCD266
RGBrgb(204, 210, 102)
HSLhsl(63, 55%, 61%)
HSVhsv(63, 51%, 82%)
CMYKcmyk(2.9%, 0%, 51.4%, 17.6%)
CIE-LABlab(81.78, -16.90, 52.16)
CIE-LCHlch(81.78, 54.83, 107.95°)
OKLaboklab(83.71% -0.0491 0.1227)
OKLCHoklch(83.71% 0.132 111.8)
XYZxyz(50.3477, 59.8909, 21.4756)
Luminance0.5989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD266 #6C66D2
analogous
#D2A266 #CCD266 #96D266
triadic
#CCD266 #66CCD2 #D266CC
tetradic
#CCD266 #66D2A2 #6C66D2 #D26696
square
#CCD266 #66D2A2 #6C66D2 #D26696
split-complementary
#CCD266 #6696D2 #A266D2
monochromatic
#8D932B #BAC239 #CCD266 #DCE095 #ECEEC5

Accessibility & contrast

On white

1.62
#CCD266 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.98
#CCD266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD266
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD266#FFFFFF#000000##000000
##CCD2661.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CA5C
Deuteranopia (green-blind)
#E0CD6C
Tritanopia (blue-blind)
#D8C7BA
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ccd266;
/* rgb */ color: rgb(204, 210, 102);
/* oklch */ color: oklch(83.7% 0.132 111.8);
Tailwind
colors: {
  custom: {
    50: '#dedf94',
    500: '#ccd266',
    950: '#000000',
  },
}
SCSS
$custom: #ccd266;
$custom-light: #dedf94;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd266",
  "rgb": {
    "r": 204,
    "g": 210,
    "b": 102
  },
  "hsl": {
    "h": 63.333,
    "s": 54.545,
    "l": 61.176
  },
  "oklch": {
    "l": 0.83705,
    "c": 0.13214,
    "h": 111.8
  },
  "luminance": 0.5989
}

Semantic roles & 50–950 ramp

primary
#CCD266
secondary
#494498
accent
#23C22C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCD266

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

Preview Lab → · Contrast checker → · Palette generator →

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