#CCF671#CCF671

#CCF671 is a very light, vivid yellow-green. Relative luminance 0.799; OKLCH L 91.7% C 0.167 H 124.2°. Best body text is #000000 at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#CCF671
RGBrgb(204, 246, 113)
HSLhsl(79, 88%, 70%)
HSVhsv(79, 54%, 96%)
CMYKcmyk(17.1%, 0%, 54.1%, 3.5%)
CIE-LABlab(91.66, -33.14, 58.67)
CIE-LCHlch(91.66, 67.38, 119.46°)
OKLaboklab(91.67% -0.0938 0.1378)
OKLCHoklch(91.67% 0.167 124.2)
XYZxyz(60.8384, 79.9407, 27.8445)
Luminance0.7994 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF671 #9B71F6
analogous
#F6DD71 #CCF671 #8AF671
triadic
#CCF671 #71CCF6 #F671CC
tetradic
#CCF671 #71F6DD #9B71F6 #F6718A
square
#CCF671 #71F6DD #9B71F6 #F6718A
split-complementary
#CCF671 #718AF6 #DD71F6
monochromatic
#9DDE0E #B7F237 #CCF671 #E1FAAB #F5FDE2

Accessibility & contrast

On white

1.24
#CCF671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.99
#CCF671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF671
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF671#FFFFFF#000000##000000
##CCF6711.001.2416.9916.99
#FFFFFF1.241.0021.0021.00
#00000016.9921.001.001.00
##00000016.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE864
Deuteranopia (green-blind)
#FCE779
Tritanopia (blue-blind)
#D4ECD8
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ccf671;
/* rgb */ color: rgb(204, 246, 113);
/* oklch */ color: oklch(91.7% 0.167 124.2);
Tailwind
colors: {
  custom: {
    50: '#def99d',
    500: '#ccf671',
    950: '#000000',
  },
}
SCSS
$custom: #ccf671;
$custom-light: #def99d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf671",
  "rgb": {
    "r": 204,
    "g": 246,
    "b": 113
  },
  "hsl": {
    "h": 78.947,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.91666,
    "c": 0.16667,
    "h": 124.2
  },
  "luminance": 0.79941
}

Semantic roles & 50–950 ramp

primary
#CCF671
secondary
#6A3BD0
accent
#01E549
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF671

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

Preview Lab → · Contrast checker → · Palette generator →

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