#CCF289#CCF289

#CCF289 is a very light, vivid yellow-green. Relative luminance 0.781; OKLCH L 91.1% C 0.138 H 125.3°. Best body text is #000000 at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#CCF289
RGBrgb(204, 242, 137)
HSLhsl(82, 80%, 74%)
HSVhsv(82, 43%, 95%)
CMYKcmyk(15.7%, 0%, 43.4%, 5.1%)
CIE-LABlab(90.85, -28.86, 46.54)
CIE-LCHlch(90.85, 54.76, 121.81°)
OKLaboklab(91.1% -0.0799 0.1128)
OKLCHoklch(91.1% 0.138 125.3)
XYZxyz(61.1690, 78.1473, 35.5234)
Luminance0.7815 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF289 #AF89F2
analogous
#F2E389 #CCF289 #98F289
triadic
#CCF289 #89CCF2 #F289CC
tetradic
#CCF289 #89F2E3 #AF89F2 #F28998
square
#CCF289 #89F2E3 #AF89F2 #F28998
split-complementary
#CCF289 #8998F2 #E389F2
monochromatic
#9CE61B #B4EC52 #CCF289 #E4F8C0 #F3FCE3

Accessibility & contrast

On white

1.26
#CCF289 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.63
#CCF289 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF289
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF289#FFFFFF#000000##000000
##CCF2891.001.2616.6316.63
#FFFFFF1.261.0021.0021.00
#00000016.6321.001.001.00
##00000016.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE681
Deuteranopia (green-blind)
#F7E48F
Tritanopia (blue-blind)
#D2E9D9
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ccf289;
/* rgb */ color: rgb(204, 242, 137);
/* oklch */ color: oklch(91.1% 0.138 125.3);
Tailwind
colors: {
  custom: {
    50: '#ddf6ad',
    500: '#ccf289',
    950: '#000000',
  },
}
SCSS
$custom: #ccf289;
$custom-light: #ddf6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf289",
  "rgb": {
    "r": 204,
    "g": 242,
    "b": 137
  },
  "hsl": {
    "h": 81.714,
    "s": 80.153,
    "l": 74.314
  },
  "oklch": {
    "l": 0.91103,
    "c": 0.13824,
    "h": 125.3
  },
  "luminance": 0.78148
}

Semantic roles & 50–950 ramp

primary
#CCF289
secondary
#7E51CE
accent
#09DC56
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #CCF289

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

Preview Lab → · Contrast checker → · Palette generator →

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