#CCF18B#CCF18B

#CCF18B is a very light, vivid yellow-green. Relative luminance 0.776; OKLCH L 90.9% C 0.135 H 125.3°. Best body text is #000000 at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#CCF18B
RGBrgb(204, 241, 139)
HSLhsl(82, 78%, 75%)
HSVhsv(82, 42%, 95%)
CMYKcmyk(15.4%, 0%, 42.3%, 5.5%)
CIE-LABlab(90.60, -28.17, 45.26)
CIE-LCHlch(90.60, 53.31, 121.89°)
OKLaboklab(90.92% -0.0779 0.11)
OKLCHoklch(90.92% 0.135 125.3)
XYZxyz(61.0170, 77.6116, 36.1871)
Luminance0.7761 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF18B #B08BF1
analogous
#F1E38B #CCF18B #99F18B
triadic
#CCF18B #8BCCF1 #F18BCC
tetradic
#CCF18B #8BF1E3 #B08BF1 #F18B99
square
#CCF18B #8BF1E3 #B08BF1 #F18B99
split-complementary
#CCF18B #8B99F1 #E38BF1
monochromatic
#9CE41E #B4EA54 #CCF18B #E4F8C2 #F3FCE4

Accessibility & contrast

On white

1.27
#CCF18B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.52
#CCF18B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF18B
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF18B#FFFFFF#000000##000000
##CCF18B1.001.2716.5216.52
#FFFFFF1.271.0021.0021.00
#00000016.5221.001.001.00
##00000016.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE583
Deuteranopia (green-blind)
#F6E490
Tritanopia (blue-blind)
#D2E8D8
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ccf18b;
/* rgb */ color: rgb(204, 241, 139);
/* oklch */ color: oklch(90.9% 0.135 125.3);
Tailwind
colors: {
  custom: {
    50: '#ddf5ae',
    500: '#ccf18b',
    950: '#000000',
  },
}
SCSS
$custom: #ccf18b;
$custom-light: #ddf5ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf18b",
  "rgb": {
    "r": 204,
    "g": 241,
    "b": 139
  },
  "hsl": {
    "h": 81.765,
    "s": 78.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.90916,
    "c": 0.13478,
    "h": 125.3
  },
  "luminance": 0.77612
}

Semantic roles & 50–950 ramp

primary
#CCF18B
secondary
#7F53CD
accent
#0BDB56
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #CCF18B

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

Preview Lab → · Contrast checker → · Palette generator →

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