#CCD051#CCD051

#CCD051 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.1% C 0.148 H 110.9°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#CCD051
RGBrgb(204, 208, 81)
HSLhsl(62, 57%, 57%)
HSVhsv(62, 61%, 82%)
CMYKcmyk(1.9%, 0%, 61.1%, 18.4%)
CIE-LABlab(81.04, -17.51, 60.67)
CIE-LCHlch(81.04, 63.15, 106.10°)
OKLaboklab(83.05% -0.053 0.1385)
OKLCHoklch(83.05% 0.148 110.9)
XYZxyz(48.9443, 58.5444, 16.5049)
Luminance0.5854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD051 #5551D0
analogous
#D09551 #CCD051 #8DD051
triadic
#CCD051 #51CCD0 #D051CC
tetradic
#CCD051 #51D095 #5551D0 #D0518D
square
#CCD051 #51D095 #5551D0 #D0518D
split-complementary
#CCD051 #518DD0 #9551D0
monochromatic
#808323 #AFB330 #CCD051 #DADD81 #E8EAB1

Accessibility & contrast

On white

1.65
#CCD051 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#CCD051 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD051
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD051#FFFFFF#000000##000000
##CCD0511.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC742
Deuteranopia (green-blind)
#E0CB59
Tritanopia (blue-blind)
#D9C4B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ccd051;
/* rgb */ color: rgb(204, 208, 81);
/* oklch */ color: oklch(83.1% 0.148 110.9);
Tailwind
colors: {
  custom: {
    50: '#dede87',
    500: '#ccd051',
    950: '#000000',
  },
}
SCSS
$custom: #ccd051;
$custom-light: #dede87;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd051",
  "rgb": {
    "r": 204,
    "g": 208,
    "b": 81
  },
  "hsl": {
    "h": 61.89,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.83051,
    "c": 0.14824,
    "h": 110.9
  },
  "luminance": 0.58543
}

Semantic roles & 50–950 ramp

primary
#CCD051
secondary
#3D3B8A
accent
#47E14C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CCD051

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

Preview Lab → · Contrast checker → · Palette generator →

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