#CCD771#CCD771

#CCD771 is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 84.9% C 0.127 H 114.2°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#CCD771
RGBrgb(204, 215, 113)
HSLhsl(66, 56%, 64%)
HSVhsv(66, 47%, 84%)
CMYKcmyk(5.1%, 0%, 47.4%, 15.7%)
CIE-LABlab(83.25, -18.37, 48.72)
CIE-LCHlch(83.25, 52.06, 110.66°)
OKLaboklab(84.92% -0.0522 0.1161)
OKLCHoklch(84.92% 0.127 114.2)
XYZxyz(52.1837, 62.6312, 24.9596)
Luminance0.6263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD771 #7C71D7
analogous
#D7AF71 #CCD771 #99D771
triadic
#CCD771 #71CCD7 #D771CC
tetradic
#CCD771 #71D7AF #7C71D7 #D77199
square
#CCD771 #71D7AF #7C71D7 #D77199
split-complementary
#CCD771 #7199D7 #AF71D7
monochromatic
#94A02D #BBCA41 #CCD771 #DDE4A1 #EEF2D0

Accessibility & contrast

On white

1.55
#CCD771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.53
#CCD771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD771
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD771#FFFFFF#000000##000000
##CCD7711.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CE68
Deuteranopia (green-blind)
#E3D076
Tritanopia (blue-blind)
#D7CDBF
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ccd771;
/* rgb */ color: rgb(204, 215, 113);
/* oklch */ color: oklch(84.9% 0.127 114.2);
Tailwind
colors: {
  custom: {
    50: '#dde39c',
    500: '#ccd771',
    950: '#000000',
  },
}
SCSS
$custom: #ccd771;
$custom-light: #dde39c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd771",
  "rgb": {
    "r": 204,
    "g": 215,
    "b": 113
  },
  "hsl": {
    "h": 66.471,
    "s": 56.044,
    "l": 64.314
  },
  "oklch": {
    "l": 0.84919,
    "c": 0.12729,
    "h": 114.2
  },
  "luminance": 0.62631
}

Semantic roles & 50–950 ramp

primary
#CCD771
secondary
#5248A4
accent
#22C433
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCD771

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

Preview Lab → · Contrast checker → · Palette generator →

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