#CCE156#CCE156

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

Color values

HEX#CCE156
RGBrgb(204, 225, 86)
HSLhsl(69, 70%, 61%)
HSVhsv(69, 62%, 88%)
CMYKcmyk(9.3%, 0%, 61.8%, 11.8%)
CIE-LABlab(85.69, -25.45, 63.59)
CIE-LCHlch(85.69, 68.49, 111.81°)
OKLaboklab(86.78% -0.0747 0.1453)
OKLCHoklch(86.78% 0.163 117.2)
XYZxyz(53.5078, 67.3603, 18.9853)
Luminance0.6736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE156 #6B56E1
analogous
#E1B056 #CCE156 #86E156
triadic
#CCE156 #56CCE1 #E156CC
tetradic
#CCE156 #56E1B0 #6B56E1 #E15686
square
#CCE156 #56E1B0 #6B56E1 #E15686
split-complementary
#CCE156 #5686E1 #B056E1
monochromatic
#8CA01C #BAD426 #CCE156 #DCEA8A #EBF3BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCE156#FFFFFF#000000##000000
##CCE1561.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)
#EFD645
Deuteranopia (green-blind)
#EDD75F
Tritanopia (blue-blind)
#D8D5C4
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cce156;
/* rgb */ color: rgb(204, 225, 86);
/* oklch */ color: oklch(86.8% 0.163 117.2);
Tailwind
colors: {
  custom: {
    50: '#deea8b',
    500: '#cce156',
    950: '#000000',
  },
}
SCSS
$custom: #cce156;
$custom-light: #deea8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cce156",
  "rgb": {
    "r": 204,
    "g": 225,
    "b": 86
  },
  "hsl": {
    "h": 69.065,
    "s": 69.849,
    "l": 60.98
  },
  "oklch": {
    "l": 0.86784,
    "c": 0.1634,
    "h": 117.2
  },
  "luminance": 0.6736
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCE156

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

Preview Lab → · Contrast checker → · Palette generator →

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