#CCF391#CCF391

#CCF391 is a very light, vivid yellow-green. Relative luminance 0.790; OKLCH L 91.4% C 0.131 H 126.6°. Best body text is #000000 at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#CCF391
RGBrgb(204, 243, 145)
HSLhsl(84, 80%, 76%)
HSVhsv(84, 40%, 95%)
CMYKcmyk(16%, 0%, 40.3%, 4.7%)
CIE-LABlab(91.23, -28.40, 43.13)
CIE-LCHlch(91.23, 51.64, 123.37°)
OKLaboklab(91.44% -0.0782 0.1054)
OKLCHoklch(91.44% 0.131 126.6)
XYZxyz(62.0628, 78.9823, 38.7580)
Luminance0.7898 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF391 #B891F3
analogous
#F3E991 #CCF391 #9BF391
triadic
#CCF391 #91CCF3 #F391CC
tetradic
#CCF391 #91F3E9 #B891F3 #F3919B
square
#CCF391 #91F3E9 #B891F3 #F3919B
split-complementary
#CCF391 #919BF3 #E991F3
monochromatic
#99E723 #B2ED5A #CCF391 #E6F9C8 #F2FCE3

Accessibility & contrast

On white

1.25
#CCF391 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.80
#CCF391 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF391
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF391#FFFFFF#000000##000000
##CCF3911.001.2516.8016.80
#FFFFFF1.251.0021.0021.00
#00000016.8021.001.001.00
##00000016.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE78A
Deuteranopia (green-blind)
#F7E596
Tritanopia (blue-blind)
#D1EBDB
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #ccf391;
/* rgb */ color: rgb(204, 243, 145);
/* oklch */ color: oklch(91.4% 0.131 126.6);
Tailwind
colors: {
  custom: {
    50: '#ddf7b2',
    500: '#ccf391',
    950: '#000000',
  },
}
SCSS
$custom: #ccf391;
$custom-light: #ddf7b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf391",
  "rgb": {
    "r": 204,
    "g": 243,
    "b": 145
  },
  "hsl": {
    "h": 83.878,
    "s": 80.328,
    "l": 76.078
  },
  "oklch": {
    "l": 0.91443,
    "c": 0.13126,
    "h": 126.6
  },
  "luminance": 0.78983
}

Semantic roles & 50–950 ramp

primary
#CCF391
secondary
#8858D0
accent
#09DD5D
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CCF391

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

Preview Lab → · Contrast checker → · Palette generator →

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