#CCF74E#CCF74E

#CCF74E is a very light, vivid yellow-green. Relative luminance 0.799; OKLCH L 91.6% C 0.195 H 122.7°. Best body text is #000000 at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#CCF74E
RGBrgb(204, 247, 78)
HSLhsl(75, 91%, 64%)
HSVhsv(75, 68%, 97%)
CMYKcmyk(17.4%, 0%, 68.4%, 3.1%)
CIE-LABlab(91.64, -36.17, 72.87)
CIE-LCHlch(91.64, 81.35, 116.40°)
OKLaboklab(91.56% -0.1052 0.1637)
OKLCHoklch(91.56% 0.195 122.7)
XYZxyz(59.5385, 79.9087, 19.4935)
Luminance0.7991 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF74E #794EF7
analogous
#F7CD4E #CCF74E #77F74E
triadic
#CCF74E #4ECCF7 #F74ECC
tetradic
#CCF74E #4EF7CD #794EF7 #F74E77
square
#CCF74E #4EF7CD #794EF7 #F74E77
split-complementary
#CCF74E #4E77F7 #CD4EF7
monochromatic
#93C209 #BBF413 #CCF74E #DDFA89 #EEFCC3

Accessibility & contrast

On white

1.24
#CCF74E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.98
#CCF74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF74E
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF74E#FFFFFF#000000##000000
##CCF74E1.001.2416.9816.98
#FFFFFF1.241.0021.0021.00
#00000016.9821.001.001.00
##00000016.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE833
Deuteranopia (green-blind)
#FFE75C
Tritanopia (blue-blind)
#D6EBD6
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ccf74e;
/* rgb */ color: rgb(204, 247, 78);
/* oklch */ color: oklch(91.6% 0.195 122.7);
Tailwind
colors: {
  custom: {
    50: '#dffa89',
    500: '#ccf74e',
    950: '#000000',
  },
}
SCSS
$custom: #ccf74e;
$custom-light: #dffa89;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf74e",
  "rgb": {
    "r": 204,
    "g": 247,
    "b": 78
  },
  "hsl": {
    "h": 75.266,
    "s": 91.351,
    "l": 63.725
  },
  "oklch": {
    "l": 0.91562,
    "c": 0.19464,
    "h": 122.7
  },
  "luminance": 0.79909
}

Semantic roles & 50–950 ramp

primary
#CCF74E
secondary
#502ABF
accent
#00E63A
background
#FEFFFC
surface
#FCFFF4
border
#D5D7CE
text
#16170C
muted
#84857F

Preview Lab

Preview with #CCF74E

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

Preview Lab → · Contrast checker → · Palette generator →

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