#CCD278#CCD278

#CCD278 is a very light, moderate yellow. Relative luminance 0.603; OKLCH L 83.9% C 0.114 H 111.9°. Best body text is #000000 at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#CCD278
RGBrgb(204, 210, 120)
HSLhsl(64, 50%, 65%)
HSVhsv(64, 43%, 82%)
CMYKcmyk(2.9%, 0%, 42.9%, 17.6%)
CIE-LABlab(81.99, -15.19, 43.78)
CIE-LCHlch(81.99, 46.34, 109.14°)
OKLaboklab(83.95% -0.0425 0.1056)
OKLCHoklch(83.95% 0.114 111.9)
XYZxyz(51.3393, 60.2875, 26.6978)
Luminance0.6029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD278 #7E78D2
analogous
#D2AB78 #CCD278 #9FD278
triadic
#CCD278 #78CCD2 #D278CC
tetradic
#CCD278 #78D2AB #7E78D2 #D2789F
square
#CCD278 #78D2AB #7E78D2 #D2789F
split-complementary
#CCD278 #789FD2 #AB78D2
monochromatic
#959C34 #BBC34A #CCD278 #DDE1A6 #EFF1D4

Accessibility & contrast

On white

1.61
#CCD278 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.06
#CCD278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD278
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD278#FFFFFF#000000##000000
##CCD2781.001.6113.0613.06
#FFFFFF1.611.0021.0021.00
#00000013.0621.001.001.00
##00000013.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECB71
Deuteranopia (green-blind)
#DECD7C
Tritanopia (blue-blind)
#D6C8BC
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ccd278;
/* rgb */ color: rgb(204, 210, 120);
/* oklch */ color: oklch(83.9% 0.114 111.9);
Tailwind
colors: {
  custom: {
    50: '#dddfa0',
    500: '#ccd278',
    950: '#000000',
  },
}
SCSS
$custom: #ccd278;
$custom-light: #dddfa0;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd278",
  "rgb": {
    "r": 204,
    "g": 210,
    "b": 120
  },
  "hsl": {
    "h": 64,
    "s": 50,
    "l": 64.706
  },
  "oklch": {
    "l": 0.83947,
    "c": 0.11384,
    "h": 111.9
  },
  "luminance": 0.60287
}

Semantic roles & 50–950 ramp

primary
#CCD278
secondary
#534DA1
accent
#28BD32
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CCD278

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

Preview Lab → · Contrast checker → · Palette generator →

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