#CCF259#CCF259

#CCF259 is a very light, vivid yellow-green. Relative luminance 0.771; OKLCH L 90.5% C 0.181 H 122.0°. Best body text is #000000 at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#CCF259
RGBrgb(204, 242, 89)
HSLhsl(75, 85%, 65%)
HSVhsv(75, 63%, 95%)
CMYKcmyk(15.7%, 0%, 63.2%, 5.1%)
CIE-LABlab(90.35, -33.20, 67.36)
CIE-LCHlch(90.35, 75.10, 116.23°)
OKLaboklab(90.54% -0.0961 0.1537)
OKLCHoklch(90.54% 0.181 122)
XYZxyz(58.4578, 77.0628, 21.2442)
Luminance0.7706 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF259 #7F59F2
analogous
#F2CC59 #CCF259 #7FF259
triadic
#CCF259 #59CCF2 #F259CC
tetradic
#CCF259 #59F2CC #7F59F2 #F2597F
square
#CCF259 #59F2CC #7F59F2 #F2597F
split-complementary
#CCF259 #597FF2 #CC59F2
monochromatic
#95C10F #BBEE20 #CCF259 #DDF692 #EFFBCB

Accessibility & contrast

On white

1.28
#CCF259 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.41
#CCF259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF259
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF259#FFFFFF#000000##000000
##CCF2591.001.2816.4116.41
#FFFFFF1.281.0021.0021.00
#00000016.4121.001.001.00
##00000016.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE445
Deuteranopia (green-blind)
#FBE364
Tritanopia (blue-blind)
#D6E6D2
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ccf259;
/* rgb */ color: rgb(204, 242, 89);
/* oklch */ color: oklch(90.5% 0.181 122.0);
Tailwind
colors: {
  custom: {
    50: '#dff68f',
    500: '#ccf259',
    950: '#000000',
  },
}
SCSS
$custom: #ccf259;
$custom-light: #dff68f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf259",
  "rgb": {
    "r": 204,
    "g": 242,
    "b": 89
  },
  "hsl": {
    "h": 74.902,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.90543,
    "c": 0.18122,
    "h": 122
  },
  "luminance": 0.77063
}

Semantic roles & 50–950 ramp

primary
#CCF259
secondary
#5430BF
accent
#04E23B
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #CCF259

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

Preview Lab → · Contrast checker → · Palette generator →

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