#CCD26C#CCD26C

#CCD26C is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 83.8% C 0.126 H 111.8°. Best body text is #000000 at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#CCD26C
RGBrgb(204, 210, 108)
HSLhsl(64, 53%, 62%)
HSVhsv(64, 49%, 82%)
CMYKcmyk(2.9%, 0%, 48.6%, 17.6%)
CIE-LABlab(81.85, -16.36, 49.42)
CIE-LCHlch(81.85, 52.06, 108.32°)
OKLaboklab(83.78% -0.0469 0.1172)
OKLCHoklch(83.78% 0.126 111.8)
XYZxyz(50.6561, 60.0142, 23.0999)
Luminance0.6001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD26C #726CD2
analogous
#D2A56C #CCD26C #99D26C
triadic
#CCD26C #6CCCD2 #D26CCC
tetradic
#CCD26C #6CD2A5 #726CD2 #D26C99
square
#CCD26C #6CD2A5 #726CD2 #D26C99
split-complementary
#CCD26C #6C99D2 #A56CD2
monochromatic
#90962E #BCC43D #CCD26C #DCE09B #EDEFCA

Accessibility & contrast

On white

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

On black

13.00
#CCD26C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD26C
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD26C#FFFFFF#000000##000000
##CCD26C1.001.6213.0013.00
#FFFFFF1.621.0021.0021.00
#00000013.0021.001.001.00
##00000013.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCA63
Deuteranopia (green-blind)
#E0CD71
Tritanopia (blue-blind)
#D7C8BB
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ccd26c;
/* rgb */ color: rgb(204, 210, 108);
/* oklch */ color: oklch(83.8% 0.126 111.8);
Tailwind
colors: {
  custom: {
    50: '#dddf98',
    500: '#ccd26c',
    950: '#000000',
  },
}
SCSS
$custom: #ccd26c;
$custom-light: #dddf98;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd26c",
  "rgb": {
    "r": 204,
    "g": 210,
    "b": 108
  },
  "hsl": {
    "h": 63.529,
    "s": 53.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.8378,
    "c": 0.12629,
    "h": 111.8
  },
  "luminance": 0.60013
}

Semantic roles & 50–950 ramp

primary
#CCD26C
secondary
#4C479B
accent
#25C12E
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCD26C

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

Preview Lab → · Contrast checker → · Palette generator →

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