#CCFA5F#CCFA5F

#CCFA5F is a very light, vivid yellow-green. Relative luminance 0.820; OKLCH L 92.4% C 0.186 H 124.1°. Best body text is #000000 at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#CCFA5F
RGBrgb(204, 250, 95)
HSLhsl(78, 94%, 68%)
HSVhsv(78, 62%, 98%)
CMYKcmyk(18.4%, 0%, 62%, 2%)
CIE-LABlab(92.59, -36.41, 67.36)
CIE-LCHlch(92.59, 76.57, 118.39°)
OKLaboklab(92.37% -0.1044 0.1544)
OKLCHoklch(92.37% 0.186 124.1)
XYZxyz(61.1534, 82.0344, 23.4367)
Luminance0.8204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCFA5F #8D5FFA
analogous
#FADA5F #CCFA5F #7FFA5F
triadic
#CCFA5F #5FCCFA #FA5FCC
tetradic
#CCFA5F #5FFADA #8D5FFA #FA5F7F
square
#CCFA5F #5FFADA #8D5FFA #FA5F7F
split-complementary
#CCFA5F #5F7FFA #DA5FFA
monochromatic
#9AD807 #B9F824 #CCFA5F #DFFC9A #F2FED6

Accessibility & contrast

On white

1.21
#CCFA5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.41
#CCFA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCFA5F
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCFA5F#FFFFFF#000000##000000
##CCFA5F1.001.2117.4117.41
#FFFFFF1.211.0021.0021.00
#00000017.4121.001.001.00
##00000017.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB4C
Deuteranopia (green-blind)
#FFE96A
Tritanopia (blue-blind)
#D5EFDA
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ccfa5f;
/* rgb */ color: rgb(204, 250, 95);
/* oklch */ color: oklch(92.4% 0.186 124.1);
Tailwind
colors: {
  custom: {
    50: '#dffc93',
    500: '#ccfa5f',
    950: '#000000',
  },
}
SCSS
$custom: #ccfa5f;
$custom-light: #dffc93;
$custom-dark: #000000;
JSON
{
  "hex": "#ccfa5f",
  "rgb": {
    "r": 204,
    "g": 250,
    "b": 95
  },
  "hsl": {
    "h": 77.806,
    "s": 93.939,
    "l": 67.647
  },
  "oklch": {
    "l": 0.92365,
    "c": 0.18643,
    "h": 124.1
  },
  "luminance": 0.82035
}

Semantic roles & 50–950 ramp

primary
#CCFA5F
secondary
#5D2BD2
accent
#00E644
background
#FEFFFC
surface
#FCFFF4
border
#D5D7CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #CCFA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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