#CCE051#CCE051

#CCE051 is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 86.5% C 0.166 H 116.8°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#CCE051
RGBrgb(204, 224, 81)
HSLhsl(68, 70%, 60%)
HSVhsv(68, 64%, 88%)
CMYKcmyk(8.9%, 0%, 63.8%, 12.2%)
CIE-LABlab(85.37, -25.30, 65.28)
CIE-LCHlch(85.37, 70.01, 111.19°)
OKLaboklab(86.52% -0.0748 0.1482)
OKLCHoklch(86.52% 0.166 116.8)
XYZxyz(53.0438, 66.7434, 17.8714)
Luminance0.6674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE051 #6551E0
analogous
#E0AD51 #CCE051 #84E051
triadic
#CCE051 #51CCE0 #E051CC
tetradic
#CCE051 #51E0AD #6551E0 #E05184
square
#CCE051 #51E0AD #6551E0 #E05184
split-complementary
#CCE051 #5184E0 #AD51E0
monochromatic
#899B1C #B7CF25 #CCE051 #DBE985 #EAF3B9

Accessibility & contrast

On white

1.46
#CCE051 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.35
#CCE051 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE051
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE051#FFFFFF#000000##000000
##CCE0511.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD53E
Deuteranopia (green-blind)
#EDD65B
Tritanopia (blue-blind)
#D8D4C3
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #cce051;
/* rgb */ color: rgb(204, 224, 81);
/* oklch */ color: oklch(86.5% 0.166 116.8);
Tailwind
colors: {
  custom: {
    50: '#dfe988',
    500: '#cce051',
    950: '#000000',
  },
}
SCSS
$custom: #cce051;
$custom-light: #dfe988;
$custom-dark: #000000;
JSON
{
  "hex": "#cce051",
  "rgb": {
    "r": 204,
    "g": 224,
    "b": 81
  },
  "hsl": {
    "h": 68.392,
    "s": 69.756,
    "l": 59.804
  },
  "oklch": {
    "l": 0.86521,
    "c": 0.16601,
    "h": 116.8
  },
  "luminance": 0.66743
}

Semantic roles & 50–950 ramp

primary
#CCE051
secondary
#45379F
accent
#3BED54
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CCE051

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

Preview Lab → · Contrast checker → · Palette generator →

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