#CCF273#CCF273

#CCF273 is a very light, vivid yellow-green. Relative luminance 0.776; OKLCH L 90.8% C 0.160 H 123.4°. Best body text is #000000 at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#CCF273
RGBrgb(204, 242, 115)
HSLhsl(78, 83%, 70%)
HSVhsv(78, 52%, 95%)
CMYKcmyk(15.7%, 0%, 52.5%, 5.1%)
CIE-LABlab(90.59, -31.11, 56.52)
CIE-LCHlch(90.59, 64.52, 118.83°)
OKLaboklab(90.81% -0.0879 0.1333)
OKLCHoklch(90.81% 0.16 123.4)
XYZxyz(59.7487, 77.5792, 28.0429)
Luminance0.7758 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF273 #9973F2
analogous
#F2D973 #CCF273 #8CF273
triadic
#CCF273 #73CCF2 #F273CC
tetradic
#CCF273 #73F2D9 #9973F2 #F2738C
square
#CCF273 #73F2D9 #9973F2 #F2738C
split-complementary
#CCF273 #738CF2 #D973F2
monochromatic
#9CD714 #B8ED3B #CCF273 #E0F7AB #F5FCE3

Accessibility & contrast

On white

1.27
#CCF273 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.52
#CCF273 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF273
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF273#FFFFFF#000000##000000
##CCF2731.001.2716.5216.52
#FFFFFF1.271.0021.0021.00
#00000016.5221.001.001.00
##00000016.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE567
Deuteranopia (green-blind)
#F9E47B
Tritanopia (blue-blind)
#D4E8D5
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ccf273;
/* rgb */ color: rgb(204, 242, 115);
/* oklch */ color: oklch(90.8% 0.160 123.4);
Tailwind
colors: {
  custom: {
    50: '#def69e',
    500: '#ccf273',
    950: '#000000',
  },
}
SCSS
$custom: #ccf273;
$custom-light: #def69e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf273",
  "rgb": {
    "r": 204,
    "g": 242,
    "b": 115
  },
  "hsl": {
    "h": 77.953,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.90811,
    "c": 0.15971,
    "h": 123.4
  },
  "luminance": 0.77579
}

Semantic roles & 50–950 ramp

primary
#CCF273
secondary
#683DCC
accent
#06DF47
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF273

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

Preview Lab → · Contrast checker → · Palette generator →

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