#CCF261#CCF261

#CCF261 is a very light, vivid yellow-green. Relative luminance 0.772; OKLCH L 90.6% C 0.175 H 122.4°. Best body text is #000000 at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#CCF261
RGBrgb(204, 242, 97)
HSLhsl(76, 85%, 66%)
HSVhsv(76, 60%, 95%)
CMYKcmyk(15.7%, 0%, 59.9%, 5.1%)
CIE-LABlab(90.42, -32.62, 64.17)
CIE-LCHlch(90.42, 71.99, 116.94°)
OKLaboklab(90.62% -0.0937 0.1479)
OKLCHoklch(90.62% 0.175 122.4)
XYZxyz(58.8122, 77.2046, 23.1106)
Luminance0.7721 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF261 #8761F2
analogous
#F2D061 #CCF261 #84F261
triadic
#CCF261 #61CCF2 #F261CC
tetradic
#CCF261 #61F2D0 #8761F2 #F26184
square
#CCF261 #61F2D0 #8761F2 #F26184
split-complementary
#CCF261 #6184F2 #D061F2
monochromatic
#98C810 #BAED28 #CCF261 #DEF79A #F1FBD2

Accessibility & contrast

On white

1.28
#CCF261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.44
#CCF261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF261
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF261#FFFFFF#000000##000000
##CCF2611.001.2816.4416.44
#FFFFFF1.281.0021.0021.00
#00000016.4421.001.001.00
##00000016.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE450
Deuteranopia (green-blind)
#FAE36B
Tritanopia (blue-blind)
#D5E7D3
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ccf261;
/* rgb */ color: rgb(204, 242, 97);
/* oklch */ color: oklch(90.6% 0.175 122.4);
Tailwind
colors: {
  custom: {
    50: '#def693',
    500: '#ccf261',
    950: '#000000',
  },
}
SCSS
$custom: #ccf261;
$custom-light: #def693;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf261",
  "rgb": {
    "r": 204,
    "g": 242,
    "b": 97
  },
  "hsl": {
    "h": 75.724,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.90617,
    "c": 0.17511,
    "h": 122.4
  },
  "luminance": 0.77205
}

Semantic roles & 50–950 ramp

primary
#CCF261
secondary
#5932C5
accent
#04E13E
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #CCF261

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

Preview Lab → · Contrast checker → · Palette generator →

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