#CCE956#CCE956

#CCE956 is a very light, vivid yellow-green. Relative luminance 0.718; OKLCH L 88.5% C 0.173 H 119.6°. Best body text is #000000 at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#CCE956
RGBrgb(204, 233, 86)
HSLhsl(72, 77%, 63%)
HSVhsv(72, 63%, 91%)
CMYKcmyk(12.4%, 0%, 63.1%, 8.6%)
CIE-LABlab(87.87, -29.23, 65.92)
CIE-LCHlch(87.87, 72.11, 113.91°)
OKLaboklab(88.54% -0.0853 0.1502)
OKLCHoklch(88.54% 0.173 119.6)
XYZxyz(55.7213, 71.7874, 19.7232)
Luminance0.7179 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE956 #7356E9
analogous
#E9BD56 #CCE956 #82E956
triadic
#CCE956 #56CCE9 #E956CC
tetradic
#CCE956 #56E9BD #7356E9 #E95682
square
#CCE956 #56E9BD #7356E9 #E95682
split-complementary
#CCE956 #5682E9 #BD56E9
monochromatic
#90AE17 #BCE220 #CCE956 #DCF08C #EDF7C2

Accessibility & contrast

On white

1.37
#CCE956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.36
#CCE956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE956
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE956#FFFFFF#000000##000000
##CCE9561.001.3715.3615.36
#FFFFFF1.371.0021.0021.00
#00000015.3621.001.001.00
##00000015.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC43
Deuteranopia (green-blind)
#F4DD60
Tritanopia (blue-blind)
#D7DDCB
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #cce956;
/* rgb */ color: rgb(204, 233, 86);
/* oklch */ color: oklch(88.5% 0.173 119.6);
Tailwind
colors: {
  custom: {
    50: '#dff08c',
    500: '#cce956',
    950: '#000000',
  },
}
SCSS
$custom: #cce956;
$custom-light: #dff08c;
$custom-dark: #000000;
JSON
{
  "hex": "#cce956",
  "rgb": {
    "r": 204,
    "g": 233,
    "b": 86
  },
  "hsl": {
    "h": 71.837,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.88536,
    "c": 0.17275,
    "h": 119.6
  },
  "luminance": 0.71787
}

Semantic roles & 50–950 ramp

primary
#CCE956
secondary
#4D34AF
accent
#0CD935
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #CCE956

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

Preview Lab → · Contrast checker → · Palette generator →

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