#CCD351#CCD351

#CCD351 is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 83.7% C 0.151 H 112.2°. Best body text is #000000 at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#CCD351
RGBrgb(204, 211, 81)
HSLhsl(63, 60%, 57%)
HSVhsv(63, 62%, 83%)
CMYKcmyk(3.3%, 0%, 61.6%, 17.3%)
CIE-LABlab(81.85, -18.99, 61.54)
CIE-LCHlch(81.85, 64.40, 107.15°)
OKLaboklab(83.7% -0.0571 0.1403)
OKLCHoklch(83.7% 0.151 112.2)
XYZxyz(49.6826, 60.0211, 16.7510)
Luminance0.6002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD351 #5851D3
analogous
#D39951 #CCD351 #8BD351
triadic
#CCD351 #51CCD3 #D351CC
tetradic
#CCD351 #51D399 #5851D3 #D3518B
square
#CCD351 #51D399 #5851D3 #D3518B
split-complementary
#CCD351 #518BD3 #9951D3
monochromatic
#828722 #B1B82F #CCD351 #DADF82 #E9ECB3

Accessibility & contrast

On white

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

On black

13.00
#CCD351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD351
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD351#FFFFFF#000000##000000
##CCD3511.001.6113.0013.00
#FFFFFF1.611.0021.0021.00
#00000013.0021.001.001.00
##00000013.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA41
Deuteranopia (green-blind)
#E2CD59
Tritanopia (blue-blind)
#D9C7B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ccd351;
/* rgb */ color: rgb(204, 211, 81);
/* oklch */ color: oklch(83.7% 0.151 112.2);
Tailwind
colors: {
  custom: {
    50: '#dee087',
    500: '#ccd351',
    950: '#000000',
  },
}
SCSS
$custom: #ccd351;
$custom-light: #dee087;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd351",
  "rgb": {
    "r": 204,
    "g": 211,
    "b": 81
  },
  "hsl": {
    "h": 63.231,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.83698,
    "c": 0.15149,
    "h": 112.2
  },
  "luminance": 0.6002
}

Semantic roles & 50–950 ramp

primary
#CCD351
secondary
#3F3A8E
accent
#45E34D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CCD351

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

Preview Lab → · Contrast checker → · Palette generator →

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