#CCE256#CCE256

#CCE256 is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.0% C 0.165 H 117.5°. Best body text is #000000 at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#CCE256
RGBrgb(204, 226, 86)
HSLhsl(69, 71%, 61%)
HSVhsv(69, 62%, 89%)
CMYKcmyk(9.7%, 0%, 61.9%, 11.4%)
CIE-LABlab(85.96, -25.92, 63.88)
CIE-LCHlch(85.96, 68.94, 112.09°)
OKLaboklab(87% -0.0761 0.1459)
OKLCHoklch(87% 0.165 117.5)
XYZxyz(53.7789, 67.9025, 19.0757)
Luminance0.6790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE256 #6C56E2
analogous
#E2B256 #CCE256 #86E256
triadic
#CCE256 #56CCE2 #E256CC
tetradic
#CCE256 #56E2B2 #6C56E2 #E25686
square
#CCE256 #56E2B2 #6C56E2 #E25686
split-complementary
#CCE256 #5686E2 #B256E2
monochromatic
#8DA21C #BAD625 #CCE256 #DCEB8A #ECF4BE

Accessibility & contrast

On white

1.44
#CCE256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.58
#CCE256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE256
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE256#FFFFFF#000000##000000
##CCE2561.001.4414.5814.58
#FFFFFF1.441.0021.0021.00
#00000014.5821.001.001.00
##00000014.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D745
Deuteranopia (green-blind)
#EED85F
Tritanopia (blue-blind)
#D8D6C5
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cce256;
/* rgb */ color: rgb(204, 226, 86);
/* oklch */ color: oklch(87.0% 0.165 117.5);
Tailwind
colors: {
  custom: {
    50: '#deeb8c',
    500: '#cce256',
    950: '#000000',
  },
}
SCSS
$custom: #cce256;
$custom-light: #deeb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cce256",
  "rgb": {
    "r": 204,
    "g": 226,
    "b": 86
  },
  "hsl": {
    "h": 69.429,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.87002,
    "c": 0.16456,
    "h": 117.5
  },
  "luminance": 0.67902
}

Semantic roles & 50–950 ramp

primary
#CCE256
secondary
#4938A5
accent
#13D331
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #CCE256

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

Preview Lab → · Contrast checker → · Palette generator →

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