#CCF05F#CCF05F

#CCF05F is a very light, vivid yellow-green. Relative luminance 0.760; OKLCH L 90.2% C 0.174 H 121.8°. Best body text is #000000 at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#CCF05F
RGBrgb(204, 240, 95)
HSLhsl(75, 83%, 66%)
HSVhsv(75, 60%, 94%)
CMYKcmyk(15%, 0%, 60.4%, 5.9%)
CIE-LABlab(89.85, -31.85, 64.39)
CIE-LCHlch(89.85, 71.83, 116.32°)
OKLaboklab(90.16% -0.0918 0.1481)
OKLCHoklch(90.16% 0.174 121.8)
XYZxyz(58.1281, 75.9837, 22.4283)
Luminance0.7598 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF05F #835FF0
analogous
#F0CC5F #CCF05F #83F05F
triadic
#CCF05F #5FCCF0 #F05FCC
tetradic
#CCF05F #5FF0CC #835FF0 #F05F83
square
#CCF05F #5FF0CC #835FF0 #F05F83
split-complementary
#CCF05F #5F83F0 #CC5FF0
monochromatic
#97C212 #BAEB27 #CCF05F #DEF597 #F0FACF

Accessibility & contrast

On white

1.30
#CCF05F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.20
#CCF05F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF05F
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF05F#FFFFFF#000000##000000
##CCF05F1.001.3016.2016.20
#FFFFFF1.301.0021.0021.00
#00000016.2021.001.001.00
##00000016.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE34E
Deuteranopia (green-blind)
#F9E269
Tritanopia (blue-blind)
#D6E5D1
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ccf05f;
/* rgb */ color: rgb(204, 240, 95);
/* oklch */ color: oklch(90.2% 0.174 121.8);
Tailwind
colors: {
  custom: {
    50: '#def592',
    500: '#ccf05f',
    950: '#000000',
  },
}
SCSS
$custom: #ccf05f;
$custom-light: #def592;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf05f",
  "rgb": {
    "r": 204,
    "g": 240,
    "b": 95
  },
  "hsl": {
    "h": 74.897,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.90157,
    "c": 0.17424,
    "h": 121.8
  },
  "luminance": 0.75984
}

Semantic roles & 50–950 ramp

primary
#CCF05F
secondary
#5633C0
accent
#06DF3C
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #CCF05F

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

Preview Lab → · Contrast checker → · Palette generator →

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