#CCF286#CCF286

#CCF286 is a very light, vivid yellow-green. Relative luminance 0.781; OKLCH L 91.1% C 0.141 H 125.0°. Best body text is #000000 at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#CCF286
RGBrgb(204, 242, 134)
HSLhsl(81, 81%, 74%)
HSVhsv(81, 45%, 95%)
CMYKcmyk(15.7%, 0%, 44.6%, 5.1%)
CIE-LABlab(90.81, -29.20, 47.93)
CIE-LCHlch(90.81, 56.12, 121.35°)
OKLaboklab(91.06% -0.0811 0.1157)
OKLCHoklch(91.06% 0.141 125)
XYZxyz(60.9568, 78.0624, 34.4058)
Luminance0.7806 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF286 #AC86F2
analogous
#F2E286 #CCF286 #96F286
triadic
#CCF286 #86CCF2 #F286CC
tetradic
#CCF286 #86F2E2 #AC86F2 #F28696
square
#CCF286 #86F2E2 #AC86F2 #F28696
split-complementary
#CCF286 #8696F2 #E286F2
monochromatic
#9DE519 #B5EC4F #CCF286 #E3F8BD #F3FCE3

Accessibility & contrast

On white

1.26
#CCF286 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.61
#CCF286 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF286
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF286#FFFFFF#000000##000000
##CCF2861.001.2616.6116.61
#FFFFFF1.261.0021.0021.00
#00000016.6121.001.001.00
##00000016.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE67D
Deuteranopia (green-blind)
#F7E48C
Tritanopia (blue-blind)
#D2E9D8
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ccf286;
/* rgb */ color: rgb(204, 242, 134);
/* oklch */ color: oklch(91.1% 0.141 125.0);
Tailwind
colors: {
  custom: {
    50: '#ddf6ab',
    500: '#ccf286',
    950: '#000000',
  },
}
SCSS
$custom: #ccf286;
$custom-light: #ddf6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf286",
  "rgb": {
    "r": 204,
    "g": 242,
    "b": 134
  },
  "hsl": {
    "h": 81.111,
    "s": 80.597,
    "l": 73.725
  },
  "oklch": {
    "l": 0.9106,
    "c": 0.14131,
    "h": 125
  },
  "luminance": 0.78063
}

Semantic roles & 50–950 ramp

primary
#CCF286
secondary
#7B4ECE
accent
#09DD53
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #CCF286

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

Preview Lab → · Contrast checker → · Palette generator →

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