#CCF873#CCF873

#CCF873 is a very light, vivid yellow-green. Relative luminance 0.812; OKLCH L 92.1% C 0.167 H 124.8°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#CCF873
RGBrgb(204, 248, 115)
HSLhsl(80, 90%, 71%)
HSVhsv(80, 54%, 97%)
CMYKcmyk(17.7%, 0%, 53.6%, 2.7%)
CIE-LABlab(92.22, -33.87, 58.44)
CIE-LCHlch(92.22, 67.55, 120.10°)
OKLaboklab(92.13% -0.0956 0.1375)
OKLCHoklch(92.13% 0.167 124.8)
XYZxyz(61.5638, 81.2095, 28.6479)
Luminance0.8121 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF873 #9F73F8
analogous
#F8E273 #CCF873 #89F873
triadic
#CCF873 #73CCF8 #F873CC
tetradic
#CCF873 #73F8E2 #9F73F8 #F87389
square
#CCF873 #73F8E2 #9F73F8 #F87389
split-complementary
#CCF873 #7389F8 #E273F8
monochromatic
#9DE50B #B7F539 #CCF873 #E1FBAD #F4FEE2

Accessibility & contrast

On white

1.22
#CCF873 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.24
#CCF873 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF873
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF873#FFFFFF#000000##000000
##CCF8731.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA66
Deuteranopia (green-blind)
#FEE87B
Tritanopia (blue-blind)
#D4EEDA
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ccf873;
/* rgb */ color: rgb(204, 248, 115);
/* oklch */ color: oklch(92.1% 0.167 124.8);
Tailwind
colors: {
  custom: {
    50: '#defa9f',
    500: '#ccf873',
    950: '#000000',
  },
}
SCSS
$custom: #ccf873;
$custom-light: #defa9f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf873",
  "rgb": {
    "r": 204,
    "g": 248,
    "b": 115
  },
  "hsl": {
    "h": 79.85,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.92129,
    "c": 0.16747,
    "h": 124.8
  },
  "luminance": 0.8121
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCF873

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

Preview Lab → · Contrast checker → · Palette generator →

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