#CCF974#CCF974

#CCF974 is a very light, vivid yellow-green. Relative luminance 0.819; OKLCH L 92.4% C 0.168 H 125.1°. Best body text is #000000 at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#CCF974
RGBrgb(204, 249, 116)
HSLhsl(80, 92%, 72%)
HSVhsv(80, 53%, 98%)
CMYKcmyk(18.1%, 0%, 53.4%, 2.4%)
CIE-LABlab(92.51, -34.24, 58.32)
CIE-LCHlch(92.51, 67.63, 120.42°)
OKLaboklab(92.36% -0.0966 0.1373)
OKLCHoklch(92.36% 0.168 125.1)
XYZxyz(61.9300, 81.8491, 29.0554)
Luminance0.8185 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF974 #A174F9
analogous
#F9E474 #CCF974 #8AF974
triadic
#CCF974 #74CCF9 #F974CC
tetradic
#CCF974 #74F9E4 #A174F9 #F9748A
square
#CCF974 #74F9E4 #A174F9 #F9748A
split-complementary
#CCF974 #748AF9 #E474F9
monochromatic
#9DE90A #B6F639 #CCF974 #E2FCAF #F4FEE2

Accessibility & contrast

On white

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

On black

17.37
#CCF974 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF974
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF974#FFFFFF#000000##000000
##CCF9741.001.2117.3717.37
#FFFFFF1.211.0021.0021.00
#00000017.3721.001.001.00
##00000017.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB67
Deuteranopia (green-blind)
#FFE97C
Tritanopia (blue-blind)
#D3EFDB
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ccf974;
/* rgb */ color: rgb(204, 249, 116);
/* oklch */ color: oklch(92.4% 0.168 125.1);
Tailwind
colors: {
  custom: {
    50: '#defb9f',
    500: '#ccf974',
    950: '#000000',
  },
}
SCSS
$custom: #ccf974;
$custom-light: #defb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf974",
  "rgb": {
    "r": 204,
    "g": 249,
    "b": 116
  },
  "hsl": {
    "h": 80.301,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.92361,
    "c": 0.16787,
    "h": 125.1
  },
  "luminance": 0.8185
}

Semantic roles & 50–950 ramp

primary
#CCF974
secondary
#703DD5
accent
#00E64E
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF974

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

Preview Lab → · Contrast checker → · Palette generator →

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