#CCE155#CCE155

#CCE155 is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 86.8% C 0.164 H 117.2°. Best body text is #000000 at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#CCE155
RGBrgb(204, 225, 85)
HSLhsl(69, 70%, 61%)
HSVhsv(69, 62%, 88%)
CMYKcmyk(9.3%, 0%, 62.2%, 11.8%)
CIE-LABlab(85.68, -25.51, 63.99)
CIE-LCHlch(85.68, 68.89, 111.74°)
OKLaboklab(86.78% -0.075 0.146)
OKLCHoklch(86.78% 0.164 117.2)
XYZxyz(53.4678, 67.3442, 18.7746)
Luminance0.6734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE155 #6A55E1
analogous
#E1B055 #CCE155 #86E155
triadic
#CCE155 #55CCE1 #E155CC
tetradic
#CCE155 #55E1B0 #6A55E1 #E15586
square
#CCE155 #55E1B0 #6A55E1 #E15586
split-complementary
#CCE155 #5586E1 #B055E1
monochromatic
#8C9F1C #B9D325 #CCE155 #DCEA89 #EBF3BD

Accessibility & contrast

On white

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

On black

14.47
#CCE155 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE155
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE155#FFFFFF#000000##000000
##CCE1551.001.4514.4714.47
#FFFFFF1.451.0021.0021.00
#00000014.4721.001.001.00
##00000014.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD644
Deuteranopia (green-blind)
#EDD75F
Tritanopia (blue-blind)
#D8D5C4
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cce155;
/* rgb */ color: rgb(204, 225, 85);
/* oklch */ color: oklch(86.8% 0.164 117.2);
Tailwind
colors: {
  custom: {
    50: '#deea8b',
    500: '#cce155',
    950: '#000000',
  },
}
SCSS
$custom: #cce155;
$custom-light: #deea8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cce155",
  "rgb": {
    "r": 204,
    "g": 225,
    "b": 85
  },
  "hsl": {
    "h": 69,
    "s": 70,
    "l": 60.784
  },
  "oklch": {
    "l": 0.86775,
    "c": 0.16417,
    "h": 117.2
  },
  "luminance": 0.67344
}

Semantic roles & 50–950 ramp

primary
#CCE155
secondary
#4838A3
accent
#14D230
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #CCE155

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

Preview Lab → · Contrast checker → · Palette generator →

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