#CCF173#CCF173

#CCF173 is a very light, vivid yellow-green. Relative luminance 0.770; OKLCH L 90.6% C 0.158 H 123.1°. Best body text is #000000 at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#CCF173
RGBrgb(204, 241, 115)
HSLhsl(78, 82%, 70%)
HSVhsv(78, 52%, 95%)
CMYKcmyk(15.4%, 0%, 52.3%, 5.5%)
CIE-LABlab(90.31, -30.65, 56.20)
CIE-LCHlch(90.31, 64.02, 118.60°)
OKLaboklab(90.59% -0.0866 0.1326)
OKLCHoklch(90.59% 0.158 123.1)
XYZxyz(59.4519, 76.9855, 27.9439)
Luminance0.7699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF173 #9873F1
analogous
#F1D773 #CCF173 #8DF173
triadic
#CCF173 #73CCF1 #F173CC
tetradic
#CCF173 #73F1D7 #9873F1 #F1738D
square
#CCF173 #73F1D7 #9873F1 #F1738D
split-complementary
#CCF173 #738DF1 #D773F1
monochromatic
#9CD415 #B8EB3B #CCF173 #E0F7AB #F5FCE2

Accessibility & contrast

On white

1.28
#CCF173 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.40
#CCF173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF173
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF173#FFFFFF#000000##000000
##CCF1731.001.2816.4016.40
#FFFFFF1.281.0021.0021.00
#00000016.4021.001.001.00
##00000016.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE467
Deuteranopia (green-blind)
#F8E37B
Tritanopia (blue-blind)
#D4E7D5
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ccf173;
/* rgb */ color: rgb(204, 241, 115);
/* oklch */ color: oklch(90.6% 0.158 123.1);
Tailwind
colors: {
  custom: {
    50: '#def59e',
    500: '#ccf173',
    950: '#000000',
  },
}
SCSS
$custom: #ccf173;
$custom-light: #def59e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf173",
  "rgb": {
    "r": 204,
    "g": 241,
    "b": 115
  },
  "hsl": {
    "h": 77.619,
    "s": 81.818,
    "l": 69.804
  },
  "oklch": {
    "l": 0.90591,
    "c": 0.15841,
    "h": 123.1
  },
  "luminance": 0.76986
}

Semantic roles & 50–950 ramp

primary
#CCF173
secondary
#673ECA
accent
#07DE46
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF173

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

Preview Lab → · Contrast checker → · Palette generator →

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