#CCF971#CCF971

#CCF971 is a very light, vivid yellow-green. Relative luminance 0.818; OKLCH L 92.3% C 0.171 H 124.9°. Best body text is #000000 at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#CCF971
RGBrgb(204, 249, 113)
HSLhsl(80, 92%, 71%)
HSVhsv(80, 55%, 98%)
CMYKcmyk(18.1%, 0%, 54.6%, 2.4%)
CIE-LABlab(92.48, -34.51, 59.62)
CIE-LCHlch(92.48, 68.89, 120.06°)
OKLaboklab(92.33% -0.0976 0.1398)
OKLCHoklch(92.33% 0.171 124.9)
XYZxyz(61.7583, 81.7804, 28.1511)
Luminance0.8178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF971 #9E71F9
analogous
#F9E271 #CCF971 #88F971
triadic
#CCF971 #71CCF9 #F971CC
tetradic
#CCF971 #71F9E2 #9E71F9 #F97188
square
#CCF971 #71F9E2 #9E71F9 #F97188
split-complementary
#CCF971 #7188F9 #E271F9
monochromatic
#9DE60A #B7F736 #CCF971 #E1FBAC #F4FEE2

Accessibility & contrast

On white

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

On black

17.36
#CCF971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF971
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF971#FFFFFF#000000##000000
##CCF9711.001.2117.3617.36
#FFFFFF1.211.0021.0021.00
#00000017.3621.001.001.00
##00000017.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB63
Deuteranopia (green-blind)
#FFE97A
Tritanopia (blue-blind)
#D4EEDB
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ccf971;
/* rgb */ color: rgb(204, 249, 113);
/* oklch */ color: oklch(92.3% 0.171 124.9);
Tailwind
colors: {
  custom: {
    50: '#defb9e',
    500: '#ccf971',
    950: '#000000',
  },
}
SCSS
$custom: #ccf971;
$custom-light: #defb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf971",
  "rgb": {
    "r": 204,
    "g": 249,
    "b": 113
  },
  "hsl": {
    "h": 79.853,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.92326,
    "c": 0.17052,
    "h": 124.9
  },
  "luminance": 0.81781
}

Semantic roles & 50–950 ramp

primary
#CCF971
secondary
#6D3AD4
accent
#00E64C
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF971

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

Preview Lab → · Contrast checker → · Palette generator →

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