#CCF75C#CCF75C

#CCF75C is a very light, vivid yellow-green. Relative luminance 0.801; OKLCH L 91.7% C 0.185 H 123.3°. Best body text is #000000 at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#CCF75C
RGBrgb(204, 247, 92)
HSLhsl(77, 91%, 66%)
HSVhsv(77, 63%, 97%)
CMYKcmyk(17.4%, 0%, 62.8%, 3.1%)
CIE-LABlab(91.74, -35.27, 67.66)
CIE-LCHlch(91.74, 76.30, 117.53°)
OKLaboklab(91.67% -0.1015 0.1547)
OKLCHoklch(91.67% 0.185 123.3)
XYZxyz(60.0949, 80.1313, 22.4241)
Luminance0.8013 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF75C #875CF7
analogous
#F7D45C #CCF75C #7FF75C
triadic
#CCF75C #5CCCF7 #F75CCC
tetradic
#CCF75C #5CF7D4 #875CF7 #F75C7F
square
#CCF75C #5CF7D4 #875CF7 #F75C7F
split-complementary
#CCF75C #5C7FF7 #D45CF7
monochromatic
#98CE0A #BAF422 #CCF75C #DEFA96 #F1FDD1

Accessibility & contrast

On white

1.23
#CCF75C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.03
#CCF75C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF75C
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF75C#FFFFFF#000000##000000
##CCF75C1.001.2317.0317.03
#FFFFFF1.231.0021.0021.00
#00000017.0321.001.001.00
##00000017.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE948
Deuteranopia (green-blind)
#FFE767
Tritanopia (blue-blind)
#D5EBD7
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ccf75c;
/* rgb */ color: rgb(204, 247, 92);
/* oklch */ color: oklch(91.7% 0.185 123.3);
Tailwind
colors: {
  custom: {
    50: '#dffa91',
    500: '#ccf75c',
    950: '#000000',
  },
}
SCSS
$custom: #ccf75c;
$custom-light: #dffa91;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf75c",
  "rgb": {
    "r": 204,
    "g": 247,
    "b": 92
  },
  "hsl": {
    "h": 76.645,
    "s": 90.643,
    "l": 66.471
  },
  "oklch": {
    "l": 0.91674,
    "c": 0.18502,
    "h": 123.3
  },
  "luminance": 0.80132
}

Semantic roles & 50–950 ramp

primary
#CCF75C
secondary
#592DCA
accent
#00E640
background
#FEFFFC
surface
#FCFFF4
border
#D5D7CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #CCF75C

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

Preview Lab → · Contrast checker → · Palette generator →

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