#CCF371#CCF371

#CCF371 is a very light, vivid yellow-green. Relative luminance 0.781; OKLCH L 91.0% C 0.163 H 123.5°. Best body text is #000000 at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#CCF371
RGBrgb(204, 243, 113)
HSLhsl(78, 84%, 70%)
HSVhsv(78, 53%, 95%)
CMYKcmyk(16%, 0%, 53.5%, 4.7%)
CIE-LABlab(90.84, -31.76, 57.72)
CIE-LCHlch(90.84, 65.88, 118.82°)
OKLaboklab(91.01% -0.0899 0.1357)
OKLCHoklch(91.01% 0.163 123.5)
XYZxyz(59.9333, 78.1305, 27.5428)
Luminance0.7813 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF371 #9871F3
analogous
#F3D971 #CCF371 #8BF371
triadic
#CCF371 #71CCF3 #F371CC
tetradic
#CCF371 #71F3D9 #9871F3 #F3718B
square
#CCF371 #71F3D9 #9871F3 #F3718B
split-complementary
#CCF371 #718BF3 #D971F3
monochromatic
#9CD712 #B8EE39 #CCF371 #E0F8A9 #F5FDE2

Accessibility & contrast

On white

1.26
#CCF371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.63
#CCF371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF371
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF371#FFFFFF#000000##000000
##CCF3711.001.2616.6316.63
#FFFFFF1.261.0021.0021.00
#00000016.6321.001.001.00
##00000016.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE664
Deuteranopia (green-blind)
#FAE579
Tritanopia (blue-blind)
#D4E9D6
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ccf371;
/* rgb */ color: rgb(204, 243, 113);
/* oklch */ color: oklch(91.0% 0.163 123.5);
Tailwind
colors: {
  custom: {
    50: '#def79d',
    500: '#ccf371',
    950: '#000000',
  },
}
SCSS
$custom: #ccf371;
$custom-light: #def79d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf371",
  "rgb": {
    "r": 204,
    "g": 243,
    "b": 113
  },
  "hsl": {
    "h": 78,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.91007,
    "c": 0.16281,
    "h": 123.5
  },
  "luminance": 0.78131
}

Semantic roles & 50–950 ramp

primary
#CCF371
secondary
#673BCD
accent
#05E147
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF371

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

Preview Lab → · Contrast checker → · Palette generator →

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