#CCE645#CCE645

#CCE645 is a very light, vivid yellow. Relative luminance 0.699; OKLCH L 87.7% C 0.181 H 118.3°. Best body text is #000000 at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#CCE645
RGBrgb(204, 230, 69)
HSLhsl(70, 76%, 59%)
HSVhsv(70, 70%, 90%)
CMYKcmyk(11.3%, 0%, 70%, 9.8%)
CIE-LABlab(86.93, -28.84, 71.37)
CIE-LCHlch(86.93, 76.98, 112.01°)
OKLaboklab(87.74% -0.0858 0.1592)
OKLCHoklch(87.74% 0.181 118.3)
XYZxyz(54.2740, 69.8611, 16.2544)
Luminance0.6986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE645 #5F45E6
analogous
#E6AF45 #CCE645 #7BE645
triadic
#CCE645 #45CCE6 #E645CC
tetradic
#CCE645 #45E6AF #5F45E6 #E6457B
square
#CCE645 #45E6AF #5F45E6 #E6457B
split-complementary
#CCE645 #457BE6 #AF45E6
monochromatic
#869C15 #B4D21C #CCE645 #DBED7B #EAF5B1

Accessibility & contrast

On white

1.40
#CCE645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.97
#CCE645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE645
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE645#FFFFFF#000000##000000
##CCE6451.001.4014.9714.97
#FFFFFF1.401.0021.0021.00
#00000014.9721.001.001.00
##00000014.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5D929
Deuteranopia (green-blind)
#F2DA52
Tritanopia (blue-blind)
#D8DAC7
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #cce645;
/* rgb */ color: rgb(204, 230, 69);
/* oklch */ color: oklch(87.7% 0.181 118.3);
Tailwind
colors: {
  custom: {
    50: '#dfed82',
    500: '#cce645',
    950: '#000000',
  },
}
SCSS
$custom: #cce645;
$custom-light: #dfed82;
$custom-dark: #000000;
JSON
{
  "hex": "#cce645",
  "rgb": {
    "r": 204,
    "g": 230,
    "b": 69
  },
  "hsl": {
    "h": 69.689,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.87744,
    "c": 0.18085,
    "h": 118.3
  },
  "luminance": 0.69861
}

Semantic roles & 50–950 ramp

primary
#CCE645
secondary
#42309F
accent
#35F354
background
#FEFEFB
surface
#FCFDF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #CCE645

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

Preview Lab → · Contrast checker → · Palette generator →

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