#CCF47F#CCF47F

#CCF47F is a very light, vivid yellow-green. Relative luminance 0.791; OKLCH L 91.4% C 0.151 H 124.8°. Best body text is #000000 at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#CCF47F
RGBrgb(204, 244, 127)
HSLhsl(81, 84%, 73%)
HSVhsv(81, 48%, 96%)
CMYKcmyk(16.4%, 0%, 48%, 4.3%)
CIE-LABlab(91.27, -30.87, 51.81)
CIE-LCHlch(91.27, 60.31, 120.79°)
OKLaboklab(91.4% -0.0863 0.1239)
OKLCHoklch(91.4% 0.151 124.8)
XYZxyz(61.0832, 79.0706, 32.1186)
Luminance0.7907 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF47F #A77FF4
analogous
#F4E27F #CCF47F #91F47F
triadic
#CCF47F #7FCCF4 #F47FCC
tetradic
#CCF47F #7FF4E2 #A77FF4 #F47F91
square
#CCF47F #7FF4E2 #A77FF4 #F47F91
split-complementary
#CCF47F #7F91F4 #E27FF4
monochromatic
#9DE514 #B6EF47 #CCF47F #E2F9B7 #F4FDE3

Accessibility & contrast

On white

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

On black

16.81
#CCF47F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF47F
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF47F#FFFFFF#000000##000000
##CCF47F1.001.2516.8116.81
#FFFFFF1.251.0021.0021.00
#00000016.8121.001.001.00
##00000016.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE775
Deuteranopia (green-blind)
#FAE686
Tritanopia (blue-blind)
#D3EAD9
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #ccf47f;
/* rgb */ color: rgb(204, 244, 127);
/* oklch */ color: oklch(91.4% 0.151 124.8);
Tailwind
colors: {
  custom: {
    50: '#ddf7a6',
    500: '#ccf47f',
    950: '#000000',
  },
}
SCSS
$custom: #ccf47f;
$custom-light: #ddf7a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf47f",
  "rgb": {
    "r": 204,
    "g": 244,
    "b": 127
  },
  "hsl": {
    "h": 80.513,
    "s": 84.173,
    "l": 72.745
  },
  "oklch": {
    "l": 0.914,
    "c": 0.15101,
    "h": 124.8
  },
  "luminance": 0.79071
}

Semantic roles & 50–950 ramp

primary
#CCF47F
secondary
#7648D0
accent
#05E150
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#151710
muted
#848580

Preview Lab

Preview with #CCF47F

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

Preview Lab → · Contrast checker → · Palette generator →

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