#CCF274#CCF274

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

Color values

HEX#CCF274
RGBrgb(204, 242, 116)
HSLhsl(78, 83%, 70%)
HSVhsv(78, 52%, 95%)
CMYKcmyk(15.7%, 0%, 52.1%, 5.1%)
CIE-LABlab(90.60, -31.02, 56.08)
CIE-LCHlch(90.60, 64.09, 118.95°)
OKLaboklab(90.82% -0.0876 0.1325)
OKLCHoklch(90.82% 0.159 123.5)
XYZxyz(59.8065, 77.6023, 28.3476)
Luminance0.7760 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF274 #9A74F2
analogous
#F2D974 #CCF274 #8DF274
triadic
#CCF274 #74CCF2 #F274CC
tetradic
#CCF274 #74F2D9 #9A74F2 #F2748D
square
#CCF274 #74F2D9 #9A74F2 #F2748D
split-complementary
#CCF274 #748DF2 #D974F2
monochromatic
#9DD714 #B7ED3C #CCF274 #E1F7AC #F5FCE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCF274#FFFFFF#000000##000000
##CCF2741.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)
#FEE568
Deuteranopia (green-blind)
#F9E47C
Tritanopia (blue-blind)
#D4E8D6
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ccf274;
/* rgb */ color: rgb(204, 242, 116);
/* oklch */ color: oklch(90.8% 0.159 123.5);
Tailwind
colors: {
  custom: {
    50: '#def69f',
    500: '#ccf274',
    950: '#000000',
  },
}
SCSS
$custom: #ccf274;
$custom-light: #def69f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf274",
  "rgb": {
    "r": 204,
    "g": 242,
    "b": 116
  },
  "hsl": {
    "h": 78.095,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.90823,
    "c": 0.15879,
    "h": 123.5
  },
  "luminance": 0.77603
}

Semantic roles & 50–950 ramp

primary
#CCF274
secondary
#693ECC
accent
#06DF48
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF274

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

Preview Lab → · Contrast checker → · Palette generator →

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