#CCE960#CCE960

#CCE960 is a very light, vivid yellow-green. Relative luminance 0.720; OKLCH L 88.6% C 0.165 H 120.0°. Best body text is #000000 at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#CCE960
RGBrgb(204, 233, 96)
HSLhsl(73, 76%, 65%)
HSVhsv(73, 59%, 91%)
CMYKcmyk(12.4%, 0%, 58.8%, 8.6%)
CIE-LABlab(87.95, -28.51, 61.87)
CIE-LCHlch(87.95, 68.12, 114.74°)
OKLaboklab(88.63% -0.0824 0.1429)
OKLCHoklch(88.63% 0.165 120)
XYZxyz(56.1528, 71.9599, 21.9955)
Luminance0.7196 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE960 #7D60E9
analogous
#E9C260 #CCE960 #87E960
triadic
#CCE960 #60CCE9 #E960CC
tetradic
#CCE960 #60E9C2 #7D60E9 #E96087
square
#CCE960 #60E9C2 #7D60E9 #E96087
split-complementary
#CCE960 #6087E9 #C260E9
monochromatic
#94B519 #BBE22A #CCE960 #DDF096 #EEF8CC

Accessibility & contrast

On white

1.36
#CCE960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.39
#CCE960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE960
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE960#FFFFFF#000000##000000
##CCE9601.001.3615.3915.39
#FFFFFF1.361.0021.0021.00
#00000015.3921.001.001.00
##00000015.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD51
Deuteranopia (green-blind)
#F3DD69
Tritanopia (blue-blind)
#D6DECC
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cce960;
/* rgb */ color: rgb(204, 233, 96);
/* oklch */ color: oklch(88.6% 0.165 120.0);
Tailwind
colors: {
  custom: {
    50: '#def092',
    500: '#cce960',
    950: '#000000',
  },
}
SCSS
$custom: #cce960;
$custom-light: #def092;
$custom-dark: #000000;
JSON
{
  "hex": "#cce960",
  "rgb": {
    "r": 204,
    "g": 233,
    "b": 96
  },
  "hsl": {
    "h": 72.701,
    "s": 75.691,
    "l": 64.51
  },
  "oklch": {
    "l": 0.88629,
    "c": 0.16494,
    "h": 120
  },
  "luminance": 0.7196
}

Semantic roles & 50–950 ramp

primary
#CCE960
secondary
#5238B5
accent
#0ED838
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160D
muted
#84857F

Preview Lab

Preview with #CCE960

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

Preview Lab → · Contrast checker → · Palette generator →

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