#CCF157#CCF157

#CCF157 is a very light, vivid yellow-green. Relative luminance 0.764; OKLCH L 90.3% C 0.181 H 121.7°. Best body text is #000000 at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#CCF157
RGBrgb(204, 241, 87)
HSLhsl(74, 85%, 64%)
HSVhsv(74, 64%, 95%)
CMYKcmyk(15.4%, 0%, 63.9%, 5.5%)
CIE-LABlab(90.06, -32.87, 67.85)
CIE-LCHlch(90.06, 75.39, 115.85°)
OKLaboklab(90.31% -0.0953 0.1544)
OKLCHoklch(90.31% 0.181 121.7)
XYZxyz(58.0781, 76.4360, 20.7089)
Luminance0.7644 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF157 #7C57F1
analogous
#F1C957 #CCF157 #7FF157
triadic
#CCF157 #57CCF1 #F157CC
tetradic
#CCF157 #57F1C9 #7C57F1 #F1577F
square
#CCF157 #57F1C9 #7C57F1 #F1577F
split-complementary
#CCF157 #577FF1 #C957F1
monochromatic
#94BE10 #BBEC1F #CCF157 #DDF68F #EEFAC8

Accessibility & contrast

On white

1.29
#CCF157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.29
#CCF157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF157
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF157#FFFFFF#000000##000000
##CCF1571.001.2916.2916.29
#FFFFFF1.291.0021.0021.00
#00000016.2921.001.001.00
##00000016.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE343
Deuteranopia (green-blind)
#FAE362
Tritanopia (blue-blind)
#D6E5D1
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ccf157;
/* rgb */ color: rgb(204, 241, 87);
/* oklch */ color: oklch(90.3% 0.181 121.7);
Tailwind
colors: {
  custom: {
    50: '#dff58d',
    500: '#ccf157',
    950: '#000000',
  },
}
SCSS
$custom: #ccf157;
$custom-light: #dff58d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf157",
  "rgb": {
    "r": 204,
    "g": 241,
    "b": 87
  },
  "hsl": {
    "h": 74.416,
    "s": 84.615,
    "l": 64.314
  },
  "oklch": {
    "l": 0.90305,
    "c": 0.18149,
    "h": 121.7
  },
  "luminance": 0.76436
}

Semantic roles & 50–950 ramp

primary
#CCF157
secondary
#5230BC
accent
#04E139
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #CCF157

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

Preview Lab → · Contrast checker → · Palette generator →

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