#CCF973#CCF973

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

Color values

HEX#CCF973
RGBrgb(204, 249, 115)
HSLhsl(80, 92%, 71%)
HSVhsv(80, 54%, 98%)
CMYKcmyk(18.1%, 0%, 53.8%, 2.4%)
CIE-LABlab(92.50, -34.33, 58.76)
CIE-LCHlch(92.50, 68.05, 120.30°)
OKLaboklab(92.35% -0.0969 0.1382)
OKLCHoklch(92.35% 0.169 125)
XYZxyz(61.8721, 81.8260, 28.7507)
Luminance0.8183 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF973 #A073F9
analogous
#F9E373 #CCF973 #89F973
triadic
#CCF973 #73CCF9 #F973CC
tetradic
#CCF973 #73F9E3 #A073F9 #F97389
square
#CCF973 #73F9E3 #A073F9 #F97389
split-complementary
#CCF973 #7389F9 #E373F9
monochromatic
#9DE80A #B7F638 #CCF973 #E1FCAE #F4FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCF973#FFFFFF#000000##000000
##CCF9731.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)
#FFEB66
Deuteranopia (green-blind)
#FFE97B
Tritanopia (blue-blind)
#D3EFDB
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ccf973;
/* rgb */ color: rgb(204, 249, 115);
/* oklch */ color: oklch(92.3% 0.169 125.0);
Tailwind
colors: {
  custom: {
    50: '#defb9f',
    500: '#ccf973',
    950: '#000000',
  },
}
SCSS
$custom: #ccf973;
$custom-light: #defb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf973",
  "rgb": {
    "r": 204,
    "g": 249,
    "b": 115
  },
  "hsl": {
    "h": 80.149,
    "s": 91.781,
    "l": 71.373
  },
  "oklch": {
    "l": 0.92349,
    "c": 0.16877,
    "h": 125
  },
  "luminance": 0.81827
}

Semantic roles & 50–950 ramp

primary
#CCF973
secondary
#6F3CD4
accent
#00E64D
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF973

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

Preview Lab → · Contrast checker → · Palette generator →

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