#CCE451#CCE451

#CCE451 is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 87.4% C 0.171 H 118.0°. Best body text is #000000 at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#CCE451
RGBrgb(204, 228, 81)
HSLhsl(70, 73%, 61%)
HSVhsv(70, 64%, 89%)
CMYKcmyk(10.5%, 0%, 64.5%, 10.6%)
CIE-LABlab(86.46, -27.20, 66.42)
CIE-LCHlch(86.46, 71.78, 112.27°)
OKLaboklab(87.4% -0.0801 0.1506)
OKLCHoklch(87.4% 0.171 118)
XYZxyz(54.1315, 68.9187, 18.2340)
Luminance0.6892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE451 #6951E4
analogous
#E4B251 #CCE451 #82E451
triadic
#CCE451 #51CCE4 #E451CC
tetradic
#CCE451 #51E4B2 #6951E4 #E45182
square
#CCE451 #51E4B2 #6951E4 #E45182
split-complementary
#CCE451 #5182E4 #B251E4
monochromatic
#8BA219 #B9D721 #CCE451 #DCEC86 #EBF4BB

Accessibility & contrast

On white

1.42
#CCE451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.78
#CCE451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE451
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE451#FFFFFF#000000##000000
##CCE4511.001.4214.7814.78
#FFFFFF1.421.0021.0021.00
#00000014.7821.001.001.00
##00000014.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D83D
Deuteranopia (green-blind)
#F0D95C
Tritanopia (blue-blind)
#D8D8C6
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #cce451;
/* rgb */ color: rgb(204, 228, 81);
/* oklch */ color: oklch(87.4% 0.171 118.0);
Tailwind
colors: {
  custom: {
    50: '#dfec89',
    500: '#cce451',
    950: '#000000',
  },
}
SCSS
$custom: #cce451;
$custom-light: #dfec89;
$custom-dark: #000000;
JSON
{
  "hex": "#cce451",
  "rgb": {
    "r": 204,
    "g": 228,
    "b": 81
  },
  "hsl": {
    "h": 69.796,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.87396,
    "c": 0.17059,
    "h": 118
  },
  "luminance": 0.68918
}

Semantic roles & 50–950 ramp

primary
#CCE451
secondary
#4735A4
accent
#10D530
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CCE451

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

Preview Lab → · Contrast checker → · Palette generator →

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