#CCE782#CCE782

#CCE782 is a very light, vivid yellow-green. Relative luminance 0.716; OKLCH L 88.6% C 0.130 H 121.4°. Best body text is #000000 at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#CCE782
RGBrgb(204, 231, 130)
HSLhsl(76, 68%, 71%)
HSVhsv(76, 44%, 91%)
CMYKcmyk(11.7%, 0%, 43.7%, 9.4%)
CIE-LABlab(87.78, -24.42, 46.08)
CIE-LCHlch(87.78, 52.15, 117.92°)
OKLaboklab(88.61% -0.0679 0.1114)
OKLCHoklch(88.61% 0.13 121.4)
XYZxyz(57.5071, 71.6009, 31.9055)
Luminance0.7160 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE782 #9D82E7
analogous
#E7D082 #CCE782 #99E782
triadic
#CCE782 #82CCE7 #E782CC
tetradic
#CCE782 #82E7D0 #9D82E7 #E78299
square
#CCE782 #82E7D0 #9D82E7 #E78299
split-complementary
#CCE782 #8299E7 #D082E7
monochromatic
#9DC826 #B7DD4F #CCE782 #E1F1B5 #F5FAE5

Accessibility & contrast

On white

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

On black

15.32
#CCE782 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE782
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE782#FFFFFF#000000##000000
##CCE7821.001.3715.3215.32
#FFFFFF1.371.0021.0021.00
#00000015.3221.001.001.00
##00000015.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DD7A
Deuteranopia (green-blind)
#EEDC87
Tritanopia (blue-blind)
#D4DECF
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #cce782;
/* rgb */ color: rgb(204, 231, 130);
/* oklch */ color: oklch(88.6% 0.130 121.4);
Tailwind
colors: {
  custom: {
    50: '#ddeea8',
    500: '#cce782',
    950: '#000000',
  },
}
SCSS
$custom: #cce782;
$custom-light: #ddeea8;
$custom-dark: #000000;
JSON
{
  "hex": "#cce782",
  "rgb": {
    "r": 204,
    "g": 231,
    "b": 130
  },
  "hsl": {
    "h": 76.04,
    "s": 67.785,
    "l": 70.784
  },
  "oklch": {
    "l": 0.8861,
    "c": 0.13045,
    "h": 121.4
  },
  "luminance": 0.71601
}

Semantic roles & 50–950 ramp

primary
#CCE782
secondary
#6C4DC0
accent
#16D047
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#151610
muted
#848580

Preview Lab

Preview with #CCE782

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

Preview Lab → · Contrast checker → · Palette generator →

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