#CCF291#CCF291

#CCF291 is a very light, vivid yellow-green. Relative luminance 0.784; OKLCH L 91.2% C 0.130 H 126.3°. Best body text is #000000 at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#CCF291
RGBrgb(204, 242, 145)
HSLhsl(84, 79%, 76%)
HSVhsv(84, 40%, 95%)
CMYKcmyk(15.7%, 0%, 40.1%, 5.1%)
CIE-LABlab(90.96, -27.93, 42.79)
CIE-LCHlch(90.96, 51.10, 123.14°)
OKLaboklab(91.23% -0.0769 0.1047)
OKLCHoklch(91.23% 0.13 126.3)
XYZxyz(61.7643, 78.3854, 38.6585)
Luminance0.7839 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF291 #B791F2
analogous
#F2E791 #CCF291 #9BF291
triadic
#CCF291 #91CCF2 #F291CC
tetradic
#CCF291 #91F2E7 #B791F2 #F2919B
square
#CCF291 #91F2E7 #B791F2 #F2919B
split-complementary
#CCF291 #919BF2 #E791F2
monochromatic
#99E524 #B3EC5A #CCF291 #E5F8C8 #F2FCE4

Accessibility & contrast

On white

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

On black

16.68
#CCF291 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF291
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF291#FFFFFF#000000##000000
##CCF2911.001.2616.6816.68
#FFFFFF1.261.0021.0021.00
#00000016.6821.001.001.00
##00000016.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE78A
Deuteranopia (green-blind)
#F6E596
Tritanopia (blue-blind)
#D1EADA
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ccf291;
/* rgb */ color: rgb(204, 242, 145);
/* oklch */ color: oklch(91.2% 0.130 126.3);
Tailwind
colors: {
  custom: {
    50: '#ddf6b2',
    500: '#ccf291',
    950: '#000000',
  },
}
SCSS
$custom: #ccf291;
$custom-light: #ddf6b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf291",
  "rgb": {
    "r": 204,
    "g": 242,
    "b": 145
  },
  "hsl": {
    "h": 83.505,
    "s": 78.862,
    "l": 75.882
  },
  "oklch": {
    "l": 0.91226,
    "c": 0.12985,
    "h": 126.3
  },
  "luminance": 0.78386
}

Semantic roles & 50–950 ramp

primary
#CCF291
secondary
#8758CF
accent
#0ADB5C
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CCF291

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

Preview Lab → · Contrast checker → · Palette generator →

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