#CFE778#CFE778

#CFE778 is a very light, vivid yellow-green. Relative luminance 0.718; OKLCH L 88.7% C 0.140 H 119.4°. Best body text is #000000 at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#CFE778
RGBrgb(207, 231, 120)
HSLhsl(73, 70%, 69%)
HSVhsv(73, 48%, 91%)
CMYKcmyk(10.4%, 0%, 48.1%, 9.4%)
CIE-LABlab(87.86, -24.31, 51.01)
CIE-LCHlch(87.86, 56.51, 115.48°)
OKLaboklab(88.69% -0.0685 0.1217)
OKLCHoklch(88.69% 0.14 119.4)
XYZxyz(57.6986, 71.7736, 28.5797)
Luminance0.7177 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE778 #9078E7
analogous
#E7C878 #CFE778 #98E778
triadic
#CFE778 #78CFE7 #E778CF
tetradic
#CFE778 #78E7C8 #9078E7 #E77898
square
#CFE778 #78E7C8 #9078E7 #E77898
split-complementary
#CFE778 #7898E7 #C878E7
monochromatic
#A0C223 #BDDE44 #CFE778 #E1F0AC #F4F9E0

Accessibility & contrast

On white

1.37
#CFE778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.35
#CFE778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE778
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE778#FFFFFF#000000##000000
##CFE7781.001.3715.3515.35
#FFFFFF1.371.0021.0021.00
#00000015.3521.001.001.00
##00000015.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC6E
Deuteranopia (green-blind)
#F0DD7E
Tritanopia (blue-blind)
#D8DDCD
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #cfe778;
/* rgb */ color: rgb(207, 231, 120);
/* oklch */ color: oklch(88.7% 0.140 119.4);
Tailwind
colors: {
  custom: {
    50: '#dfeea1',
    500: '#cfe778',
    950: '#000000',
  },
}
SCSS
$custom: #cfe778;
$custom-light: #dfeea1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe778",
  "rgb": {
    "r": 207,
    "g": 231,
    "b": 120
  },
  "hsl": {
    "h": 72.973,
    "s": 69.811,
    "l": 68.824
  },
  "oklch": {
    "l": 0.88689,
    "c": 0.13962,
    "h": 119.4
  },
  "luminance": 0.71773
}

Semantic roles & 50–950 ramp

primary
#CFE778
secondary
#5F44BF
accent
#14D23D
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160F
muted
#848580

Preview Lab

Preview with #CFE778

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

Preview Lab → · Contrast checker → · Palette generator →

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