#CCD277#CCD277

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

Color values

HEX#CCD277
RGBrgb(204, 210, 119)
HSLhsl(64, 50%, 65%)
HSVhsv(64, 43%, 82%)
CMYKcmyk(2.9%, 0%, 43.3%, 17.6%)
CIE-LABlab(81.98, -15.29, 44.25)
CIE-LCHlch(81.98, 46.82, 109.06°)
OKLaboklab(83.93% -0.0429 0.1066)
OKLCHoklch(83.93% 0.115 111.9)
XYZxyz(51.2789, 60.2633, 26.3799)
Luminance0.6026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD277 #7D77D2
analogous
#D2AB77 #CCD277 #9FD277
triadic
#CCD277 #77CCD2 #D277CC
tetradic
#CCD277 #77D2AB #7D77D2 #D2779F
square
#CCD277 #77D2AB #7D77D2 #D2779F
split-complementary
#CCD277 #779FD2 #AB77D2
monochromatic
#949B33 #BBC349 #CCD277 #DDE1A5 #EEF0D3

Accessibility & contrast

On white

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

On black

13.05
#CCD277 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD277
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD277#FFFFFF#000000##000000
##CCD2771.001.6113.0513.05
#FFFFFF1.611.0021.0021.00
#00000013.0521.001.001.00
##00000013.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccd277;
/* rgb */ color: rgb(204, 210, 119);
/* oklch */ color: oklch(83.9% 0.115 111.9);
Tailwind
colors: {
  custom: {
    50: '#dddfa0',
    500: '#ccd277',
    950: '#000000',
  },
}
SCSS
$custom: #ccd277;
$custom-light: #dddfa0;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd277",
  "rgb": {
    "r": 204,
    "g": 210,
    "b": 119
  },
  "hsl": {
    "h": 63.956,
    "s": 50.276,
    "l": 64.51
  },
  "oklch": {
    "l": 0.83932,
    "c": 0.11492,
    "h": 111.9
  },
  "luminance": 0.60262
}

Semantic roles & 50–950 ramp

primary
#CCD277
secondary
#524DA0
accent
#28BE32
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CCD277

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

Preview Lab → · Contrast checker → · Palette generator →

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