#CCD751#CCD751

#CCD751 is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 84.6% C 0.156 H 113.7°. Best body text is #000000 at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#CCD751
RGBrgb(204, 215, 81)
HSLhsl(65, 63%, 58%)
HSVhsv(65, 62%, 84%)
CMYKcmyk(5.1%, 0%, 62.3%, 15.7%)
CIE-LABlab(82.93, -20.96, 62.69)
CIE-LCHlch(82.93, 66.10, 108.48°)
OKLaboklab(84.56% -0.0626 0.1427)
OKLCHoklch(84.56% 0.156 113.7)
XYZxyz(50.6887, 62.0333, 17.0864)
Luminance0.6203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD751 #5C51D7
analogous
#D79F51 #CCD751 #89D751
triadic
#CCD751 #51CCD7 #D751CC
tetradic
#CCD751 #51D79F #5C51D7 #D75189
square
#CCD751 #51D79F #5C51D7 #D75189
split-complementary
#CCD751 #5189D7 #9F51D7
monochromatic
#848D20 #B3BF2C #CCD751 #DBE283 #E9EEB5

Accessibility & contrast

On white

1.57
#CCD751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.41
#CCD751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD751
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD751#FFFFFF#000000##000000
##CCD7511.001.5713.4113.41
#FFFFFF1.571.0021.0021.00
#00000013.4121.001.001.00
##00000013.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD40
Deuteranopia (green-blind)
#E6D05A
Tritanopia (blue-blind)
#D9CBBB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #ccd751;
/* rgb */ color: rgb(204, 215, 81);
/* oklch */ color: oklch(84.6% 0.156 113.7);
Tailwind
colors: {
  custom: {
    50: '#dee388',
    500: '#ccd751',
    950: '#000000',
  },
}
SCSS
$custom: #ccd751;
$custom-light: #dee388;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd751",
  "rgb": {
    "r": 204,
    "g": 215,
    "b": 81
  },
  "hsl": {
    "h": 64.925,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.84563,
    "c": 0.15588,
    "h": 113.7
  },
  "luminance": 0.62032
}

Semantic roles & 50–950 ramp

primary
#CCD751
secondary
#413993
accent
#42E650
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CCD751

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

Preview Lab → · Contrast checker → · Palette generator →

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