#CCF586#CCF586

#CCF586 is a very light, vivid yellow-green. Relative luminance 0.799; OKLCH L 91.7% C 0.145 H 125.8°. Best body text is #000000 at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#CCF586
RGBrgb(204, 245, 134)
HSLhsl(82, 85%, 74%)
HSVhsv(82, 45%, 96%)
CMYKcmyk(16.7%, 0%, 45.3%, 3.9%)
CIE-LABlab(91.62, -30.60, 48.94)
CIE-LCHlch(91.62, 57.72, 122.01°)
OKLaboklab(91.72% -0.085 0.118)
OKLCHoklch(91.72% 0.145 125.8)
XYZxyz(61.8571, 79.8629, 34.7059)
Luminance0.7986 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF586 #AF86F5
analogous
#F5E786 #CCF586 #95F586
triadic
#CCF586 #86CCF5 #F586CC
tetradic
#CCF586 #86F5E7 #AF86F5 #F58695
square
#CCF586 #86F5E7 #AF86F5 #F58695
split-complementary
#CCF586 #8695F5 #E786F5
monochromatic
#9CEC15 #B4F04D #CCF586 #E4FABF #F3FDE3

Accessibility & contrast

On white

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

On black

16.97
#CCF586 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF586
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF586#FFFFFF#000000##000000
##CCF5861.001.2416.9716.97
#FFFFFF1.241.0021.0021.00
#00000016.9721.001.001.00
##00000016.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE87D
Deuteranopia (green-blind)
#FAE68C
Tritanopia (blue-blind)
#D2ECDB
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ccf586;
/* rgb */ color: rgb(204, 245, 134);
/* oklch */ color: oklch(91.7% 0.145 125.8);
Tailwind
colors: {
  custom: {
    50: '#ddf8ab',
    500: '#ccf586',
    950: '#000000',
  },
}
SCSS
$custom: #ccf586;
$custom-light: #ddf8ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf586",
  "rgb": {
    "r": 204,
    "g": 245,
    "b": 134
  },
  "hsl": {
    "h": 82.162,
    "s": 84.733,
    "l": 74.314
  },
  "oklch": {
    "l": 0.91715,
    "c": 0.14543,
    "h": 125.8
  },
  "luminance": 0.79863
}

Semantic roles & 50–950 ramp

primary
#CCF586
secondary
#7E4ED2
accent
#04E156
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CCF586

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

Preview Lab → · Contrast checker → · Palette generator →

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