#CCF074#CCF074

#CCF074 is a very light, vivid yellow-green. Relative luminance 0.764; OKLCH L 90.4% C 0.156 H 123.0°. Best body text is #000000 at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#CCF074
RGBrgb(204, 240, 116)
HSLhsl(77, 81%, 70%)
HSVhsv(77, 52%, 94%)
CMYKcmyk(15%, 0%, 51.7%, 5.9%)
CIE-LABlab(90.05, -30.09, 55.44)
CIE-LCHlch(90.05, 63.08, 118.49°)
OKLaboklab(90.38% -0.085 0.1311)
OKLCHoklch(90.38% 0.156 123)
XYZxyz(59.2145, 76.4183, 28.1502)
Luminance0.7642 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF074 #9874F0
analogous
#F0D674 #CCF074 #8EF074
triadic
#CCF074 #74CCF0 #F074CC
tetradic
#CCF074 #74F0D6 #9874F0 #F0748E
square
#CCF074 #74F0D6 #9874F0 #F0748E
split-complementary
#CCF074 #748EF0 #D674F0
monochromatic
#9CD317 #B8EA3D #CCF074 #E0F6AB #F5FCE2

Accessibility & contrast

On white

1.29
#CCF074 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.28
#CCF074 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF074
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF074#FFFFFF#000000##000000
##CCF0741.001.2916.2816.28
#FFFFFF1.291.0021.0021.00
#00000016.2821.001.001.00
##00000016.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE368
Deuteranopia (green-blind)
#F7E27B
Tritanopia (blue-blind)
#D4E6D4
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ccf074;
/* rgb */ color: rgb(204, 240, 116);
/* oklch */ color: oklch(90.4% 0.156 123.0);
Tailwind
colors: {
  custom: {
    50: '#def59f',
    500: '#ccf074',
    950: '#000000',
  },
}
SCSS
$custom: #ccf074;
$custom-light: #def59f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf074",
  "rgb": {
    "r": 204,
    "g": 240,
    "b": 116
  },
  "hsl": {
    "h": 77.419,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.90384,
    "c": 0.15619,
    "h": 123
  },
  "luminance": 0.76418
}

Semantic roles & 50–950 ramp

primary
#CCF074
secondary
#673FC9
accent
#09DD46
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF074

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

Preview Lab → · Contrast checker → · Palette generator →

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