#CCE245#CCE245

#CCE245 is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 86.9% C 0.176 H 117.2°. Best body text is #000000 at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#CCE245
RGBrgb(204, 226, 69)
HSLhsl(68, 73%, 58%)
HSVhsv(68, 69%, 89%)
CMYKcmyk(9.7%, 0%, 69.5%, 11.4%)
CIE-LABlab(85.84, -26.96, 70.29)
CIE-LCHlch(85.84, 75.28, 110.98°)
OKLaboklab(86.87% -0.0806 0.1569)
OKLCHoklch(86.87% 0.176 117.2)
XYZxyz(53.1736, 67.6604, 15.8877)
Luminance0.6766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE245 #5B45E2
analogous
#E2AA45 #CCE245 #7DE245
triadic
#CCE245 #45CCE2 #E245CC
tetradic
#CCE245 #45E2AA #5B45E2 #E2457D
square
#CCE245 #45E2AA #5B45E2 #E2457D
split-complementary
#CCE245 #457DE2 #AA45E2
monochromatic
#849517 #B2CA20 #CCE245 #DBEA7A #E9F3AF

Accessibility & contrast

On white

1.45
#CCE245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.53
#CCE245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE245
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE245#FFFFFF#000000##000000
##CCE2451.001.4514.5314.53
#FFFFFF1.451.0021.0021.00
#00000014.5321.001.001.00
##00000014.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D62B
Deuteranopia (green-blind)
#EFD851
Tritanopia (blue-blind)
#D8D6C3
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cce245;
/* rgb */ color: rgb(204, 226, 69);
/* oklch */ color: oklch(86.9% 0.176 117.2);
Tailwind
colors: {
  custom: {
    50: '#dfeb82',
    500: '#cce245',
    950: '#000000',
  },
}
SCSS
$custom: #cce245;
$custom-light: #dfeb82;
$custom-dark: #000000;
JSON
{
  "hex": "#cce245",
  "rgb": {
    "r": 204,
    "g": 226,
    "b": 69
  },
  "hsl": {
    "h": 68.408,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.86866,
    "c": 0.17641,
    "h": 117.2
  },
  "luminance": 0.6766
}

Semantic roles & 50–950 ramp

primary
#CCE245
secondary
#40329A
accent
#38F052
background
#FEFEFB
surface
#FCFDF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #CCE245

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

Preview Lab → · Contrast checker → · Palette generator →

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