#CCE054#CCE054

#CCE054 is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 86.5% C 0.164 H 116.9°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#CCE054
RGBrgb(204, 224, 84)
HSLhsl(69, 69%, 60%)
HSVhsv(69, 63%, 88%)
CMYKcmyk(8.9%, 0%, 62.5%, 12.2%)
CIE-LABlab(85.40, -25.10, 64.10)
CIE-LCHlch(85.40, 68.84, 111.39°)
OKLaboklab(86.55% -0.074 0.1461)
OKLCHoklch(86.55% 0.164 116.9)
XYZxyz(53.1588, 66.7894, 18.4770)
Luminance0.6679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE054 #6854E0
analogous
#E0AE54 #CCE054 #86E054
triadic
#CCE054 #54CCE0 #E054CC
tetradic
#CCE054 #54E0AE #6854E0 #E05486
square
#CCE054 #54E0AE #6854E0 #E05486
split-complementary
#CCE054 #5486E0 #AE54E0
monochromatic
#8B9D1C #B8D126 #CCE054 #DBE988 #EBF3BC

Accessibility & contrast

On white

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

On black

14.36
#CCE054 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE054
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE054#FFFFFF#000000##000000
##CCE0541.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cce054;
/* rgb */ color: rgb(204, 224, 84);
/* oklch */ color: oklch(86.5% 0.164 116.9);
Tailwind
colors: {
  custom: {
    50: '#dee98a',
    500: '#cce054',
    950: '#000000',
  },
}
SCSS
$custom: #cce054;
$custom-light: #dee98a;
$custom-dark: #000000;
JSON
{
  "hex": "#cce054",
  "rgb": {
    "r": 204,
    "g": 224,
    "b": 84
  },
  "hsl": {
    "h": 68.571,
    "s": 69.307,
    "l": 60.392
  },
  "oklch": {
    "l": 0.86547,
    "c": 0.16377,
    "h": 116.9
  },
  "luminance": 0.66789
}

Semantic roles & 50–950 ramp

primary
#CCE054
secondary
#4738A1
accent
#14D12F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CCE054

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

Preview Lab → · Contrast checker → · Palette generator →

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