#CCD451#CCD451

#CCD451 is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 83.9% C 0.153 H 112.6°. Best body text is #000000 at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#CCD451
RGBrgb(204, 212, 81)
HSLhsl(64, 60%, 57%)
HSVhsv(64, 62%, 83%)
CMYKcmyk(3.8%, 0%, 61.8%, 16.9%)
CIE-LABlab(82.12, -19.49, 61.83)
CIE-LCHlch(82.12, 64.83, 107.49°)
OKLaboklab(83.91% -0.0585 0.1409)
OKLCHoklch(83.91% 0.153 112.6)
XYZxyz(49.9318, 60.5195, 16.8341)
Luminance0.6052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD451 #5951D4
analogous
#D49A51 #CCD451 #8BD451
triadic
#CCD451 #51CCD4 #D451CC
tetradic
#CCD451 #51D49A #5951D4 #D4518B
square
#CCD451 #51D49A #5951D4 #D4518B
split-complementary
#CCD451 #518BD4 #9A51D4
monochromatic
#838922 #B1BA2E #CCD451 #DAE082 #E9ECB3

Accessibility & contrast

On white

1.60
#CCD451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.10
#CCD451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD451
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD451#FFFFFF#000000##000000
##CCD4511.001.6013.1013.10
#FFFFFF1.601.0021.0021.00
#00000013.1021.001.001.00
##00000013.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB41
Deuteranopia (green-blind)
#E3CE59
Tritanopia (blue-blind)
#D9C8B9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ccd451;
/* rgb */ color: rgb(204, 212, 81);
/* oklch */ color: oklch(83.9% 0.153 112.6);
Tailwind
colors: {
  custom: {
    50: '#dee188',
    500: '#ccd451',
    950: '#000000',
  },
}
SCSS
$custom: #ccd451;
$custom-light: #dee188;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd451",
  "rgb": {
    "r": 204,
    "g": 212,
    "b": 81
  },
  "hsl": {
    "h": 63.664,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.83914,
    "c": 0.15258,
    "h": 112.6
  },
  "luminance": 0.60518
}

Semantic roles & 50–950 ramp

primary
#CCD451
secondary
#3F3A8F
accent
#44E44E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CCD451

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

Preview Lab → · Contrast checker → · Palette generator →

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