#CCF970#CCF970

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

Color values

HEX#CCF970
RGBrgb(204, 249, 112)
HSLhsl(80, 92%, 71%)
HSVhsv(80, 55%, 98%)
CMYKcmyk(18.1%, 0%, 55%, 2.4%)
CIE-LABlab(92.47, -34.60, 60.05)
CIE-LCHlch(92.47, 69.30, 119.95°)
OKLaboklab(92.32% -0.0979 0.1407)
OKLCHoklch(92.32% 0.171 124.8)
XYZxyz(61.7023, 81.7581, 27.8563)
Luminance0.8176 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF970 #9D70F9
analogous
#F9E170 #CCF970 #87F970
triadic
#CCF970 #70CCF9 #F970CC
tetradic
#CCF970 #70F9E1 #9D70F9 #F97087
square
#CCF970 #70F9E1 #9D70F9 #F97087
split-complementary
#CCF970 #7087F9 #E170F9
monochromatic
#9DE50A #B7F735 #CCF970 #E1FBAB #F5FEE2

Accessibility & contrast

On white

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

On black

17.35
#CCF970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF970
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF970#FFFFFF#000000##000000
##CCF9701.001.2117.3517.35
#FFFFFF1.211.0021.0021.00
#00000017.3521.001.001.00
##00000017.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccf970;
/* rgb */ color: rgb(204, 249, 112);
/* oklch */ color: oklch(92.3% 0.171 124.8);
Tailwind
colors: {
  custom: {
    50: '#defb9d',
    500: '#ccf970',
    950: '#000000',
  },
}
SCSS
$custom: #ccf970;
$custom-light: #defb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf970",
  "rgb": {
    "r": 204,
    "g": 249,
    "b": 112
  },
  "hsl": {
    "h": 79.708,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.92315,
    "c": 0.1714,
    "h": 124.8
  },
  "luminance": 0.81759
}

Semantic roles & 50–950 ramp

primary
#CCF970
secondary
#6C39D4
accent
#00E64B
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF970

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

Preview Lab → · Contrast checker → · Palette generator →

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