#CFF28D#CFF28D

#CFF28D is a very light, vivid yellow-green. Relative luminance 0.787; OKLCH L 91.4% C 0.133 H 124.6°. Best body text is #000000 at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#CFF28D
RGBrgb(207, 242, 141)
HSLhsl(81, 80%, 75%)
HSVhsv(81, 42%, 95%)
CMYKcmyk(14.5%, 0%, 41.7%, 5.1%)
CIE-LABlab(91.09, -27.31, 44.95)
CIE-LCHlch(91.09, 52.60, 121.27°)
OKLaboklab(91.37% -0.0754 0.1094)
OKLCHoklch(91.37% 0.133 124.6)
XYZxyz(62.2917, 78.6924, 37.1016)
Luminance0.7869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFF28D #B08DF2
analogous
#F2E38D #CFF28D #9CF28D
triadic
#CFF28D #8DCFF2 #F28DCF
tetradic
#CFF28D #8DF2E3 #B08DF2 #F28D9C
square
#CFF28D #8DF2E3 #B08DF2 #F28D9C
split-complementary
#CFF28D #8D9CF2 #E38DF2
monochromatic
#A1E51F #B8EC56 #CFF28D #E6F8C4 #F3FCE4

Accessibility & contrast

On white

1.25
#CFF28D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.74
#CFF28D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFF28D
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFF28D#FFFFFF#000000##000000
##CFF28D1.001.2516.7416.74
#FFFFFF1.251.0021.0021.00
#00000016.7421.001.001.00
##00000016.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE785
Deuteranopia (green-blind)
#F7E592
Tritanopia (blue-blind)
#D5E9DA
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #cff28d;
/* rgb */ color: rgb(207, 242, 141);
/* oklch */ color: oklch(91.4% 0.133 124.6);
Tailwind
colors: {
  custom: {
    50: '#dff6b0',
    500: '#cff28d',
    950: '#000000',
  },
}
SCSS
$custom: #cff28d;
$custom-light: #dff6b0;
$custom-dark: #000000;
JSON
{
  "hex": "#cff28d",
  "rgb": {
    "r": 207,
    "g": 242,
    "b": 141
  },
  "hsl": {
    "h": 80.792,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.91369,
    "c": 0.13288,
    "h": 124.6
  },
  "luminance": 0.78693
}

Semantic roles & 50–950 ramp

primary
#CFF28D
secondary
#7F55CF
accent
#0ADC52
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #CFF28D

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

Preview Lab → · Contrast checker → · Palette generator →

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