#CFF278#CFF278

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

Color values

HEX#CFF278
RGBrgb(207, 242, 120)
HSLhsl(77, 82%, 71%)
HSVhsv(77, 50%, 95%)
CMYKcmyk(14.5%, 0%, 50.4%, 5.1%)
CIE-LABlab(90.84, -29.51, 54.59)
CIE-LCHlch(90.84, 62.05, 118.40°)
OKLaboklab(91.08% -0.0832 0.1295)
OKLCHoklch(91.08% 0.154 122.7)
XYZxyz(60.8746, 78.1256, 29.6384)
Luminance0.7813 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFF278 #9B78F2
analogous
#F2D878 #CFF278 #92F278
triadic
#CFF278 #78CFF2 #F278CF
tetradic
#CFF278 #78F2D8 #9B78F2 #F27892
square
#CFF278 #78F2D8 #9B78F2 #F27892
split-complementary
#CFF278 #7892F2 #D878F2
monochromatic
#A2DB15 #BBED40 #CFF278 #E3F7B0 #F5FCE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFF278#FFFFFF#000000##000000
##CFF2781.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)
#FEE66D
Deuteranopia (green-blind)
#F9E57F
Tritanopia (blue-blind)
#D7E8D6
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #cff278;
/* rgb */ color: rgb(207, 242, 120);
/* oklch */ color: oklch(91.1% 0.154 122.7);
Tailwind
colors: {
  custom: {
    50: '#e0f6a2',
    500: '#cff278',
    950: '#000000',
  },
}
SCSS
$custom: #cff278;
$custom-light: #e0f6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cff278",
  "rgb": {
    "r": 207,
    "g": 242,
    "b": 120
  },
  "hsl": {
    "h": 77.213,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.91079,
    "c": 0.1539,
    "h": 122.7
  },
  "luminance": 0.78126
}

Semantic roles & 50–950 ramp

primary
#CFF278
secondary
#6A42CC
accent
#07DF45
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CFF278

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

Preview Lab → · Contrast checker → · Palette generator →

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