#CCF85F#CCF85F

#CCF85F is a very light, vivid yellow-green. Relative luminance 0.808; OKLCH L 91.9% C 0.184 H 123.6°. Best body text is #000000 at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#CCF85F
RGBrgb(204, 248, 95)
HSLhsl(77, 92%, 67%)
HSVhsv(77, 62%, 97%)
CMYKcmyk(17.7%, 0%, 61.7%, 2.7%)
CIE-LABlab(92.04, -35.51, 66.77)
CIE-LCHlch(92.04, 75.62, 118.00°)
OKLaboklab(91.92% -0.1019 0.1532)
OKLCHoklch(91.92% 0.184 123.6)
XYZxyz(60.5352, 80.7980, 23.2307)
Luminance0.8080 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF85F #8B5FF8
analogous
#F8D85F #CCF85F #80F85F
triadic
#CCF85F #5FCCF8 #F85FCC
tetradic
#CCF85F #5FF8D8 #8B5FF8 #F85F80
square
#CCF85F #5FF8D8 #8B5FF8 #F85F80
split-complementary
#CCF85F #5F80F8 #D85FF8
monochromatic
#99D309 #B9F524 #CCF85F #DFFB9A #F1FDD4

Accessibility & contrast

On white

1.22
#CCF85F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.16
#CCF85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF85F
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF85F#FFFFFF#000000##000000
##CCF85F1.001.2217.1617.16
#FFFFFF1.221.0021.0021.00
#00000017.1621.001.001.00
##00000017.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE94C
Deuteranopia (green-blind)
#FFE86A
Tritanopia (blue-blind)
#D5EDD8
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ccf85f;
/* rgb */ color: rgb(204, 248, 95);
/* oklch */ color: oklch(91.9% 0.184 123.6);
Tailwind
colors: {
  custom: {
    50: '#dffa92',
    500: '#ccf85f',
    950: '#000000',
  },
}
SCSS
$custom: #ccf85f;
$custom-light: #dffa92;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf85f",
  "rgb": {
    "r": 204,
    "g": 248,
    "b": 95
  },
  "hsl": {
    "h": 77.255,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.91922,
    "c": 0.18399,
    "h": 123.6
  },
  "luminance": 0.80798
}

Semantic roles & 50–950 ramp

primary
#CCF85F
secondary
#5B2DCE
accent
#00E642
background
#FEFFFC
surface
#FCFFF4
border
#D5D7CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #CCF85F

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

Preview Lab → · Contrast checker → · Palette generator →

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